Show / Hide Table of Contents

Class ExtraFieldHelper

Inheritance
System.Object
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
System.Object value

The value to convert

FieldDataType type

The data type used for converting

System.Boolean isNull
Returns
Type Description
System.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)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top