Class ExtraFieldHelper
Namespace: SuperOffice.CRM.Data.Util
Assembly: SoDataBase.dll
Syntax
public class ExtraFieldHelper : Object
Constructors
ExtraFieldHelper()
Declaration
public ExtraFieldHelper()
Methods
ConvertDbExtraFieldToString(Object, FieldDataType, Boolean)
This method will take a Service extra field value and convert it using the CultureDataFormatter to apply the correct type information on the form [I:5]
Declaration
public static string ConvertDbExtraFieldToString(object value, FieldDataType type, bool isNull)
Parameters
Type | Name | Description |
---|---|---|
Object | value | The value to convert |
FieldDataType | type | The data type used for converting |
Boolean | isNull |
Returns
Type | Description |
---|---|
String |
GetInitializedExtraFields<T>(T)
This method returns initialized extra fields with default values for given row
Declaration
public static StringDictionary GetInitializedExtraFields<T>(T row)
where T : TableRowBase, IExtraFieldsHelper
Parameters
Type | Name | Description |
---|---|---|
T | row | Row |
Returns
Type | Description |
---|---|
StringDictionary |
Type Parameters
Name | Description |
---|---|
T |
Extension Methods
EnumUtil.MapEnums<From, To>(From)