Class ExtraFieldHelper
Inherited Members
Namespace: SuperOffice.CRM.Data.Util
Assembly: SoDataBase.dll
Syntax
public class ExtraFieldHelper
Constructors
ExtraFieldHelper()
Declaration
public ExtraFieldHelper()
Methods
ConvertDbExtraFieldToString(object, FieldInfo, bool)
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, FieldInfo fi, bool isNull)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | The value to convert |
| FieldInfo | fi | The field metadata used in convertion |
| bool | 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 |