Class EntityCustomFieldsHelper
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Inheritance
EntityCustomFieldsHelper
Assembly: SoDataBase.dll
Syntax
public class EntityCustomFieldsHelper
Constructors
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
public EntityCustomFieldsHelper(TableRowBase row, EntityExtraFieldsHelper extraHelper, EntityUdefHelper udefHelper = null)
Parameters
Fields
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
protected EntityExtraFieldsHelper _extraHelper
Field Value
_row
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
protected TableRowBase _row
Field Value
_udefHelper
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
protected EntityUdefHelper _udefHelper
Field Value
Properties
this[string]
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
public object this[string fieldName] { get; set; }
Parameters
Type |
Name |
Description |
string |
fieldName |
|
Property Value
Names
List of extra + udef field names and progids: ['x_foo', 'Superoffice:1']
Declaration
public string[] Names { get; }
Property Value
Methods
Encode(string)
Convert field value to a string encoded value: 123 -> "[I:123]"
Declaration
public string Encode(string fieldName)
Parameters
Type |
Name |
Description |
string |
fieldName |
|
Returns
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
public (string, string) GetExtraInfo(string fieldname)
Parameters
Type |
Name |
Description |
string |
fieldname |
|
Returns
Parse(StringDictionary, string)
Update field value. Convert string encoded value back into object.
Check for xxx:org value, and update only if xxx:org is different, or missing.
Declaration
public void Parse(StringDictionary values, string fieldName)
Parameters
ToDictionary()
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
public Dictionary<string, object> ToDictionary()
Returns
ToStringDictionary()
Forward extra fields to extra fields helper, udef to udef helper (if any),
if the underlying helpers do not have any changes at the start of modifications.
Declaration
public StringDictionary ToStringDictionary()
Returns
Extension Methods