DataExchangeField Class | 
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataExchangeField : FieldContainer
The DataExchangeField type exposes the following members.
| Name | Description | |
|---|---|---|
| DataExchangeField(Int32) | 
            Construct class with property ID
              | |
| DataExchangeField(BaseProperty) | 
            Construct class with property object
              | |
| DataExchangeField(FieldContainer) | 
            Construct class with FieldContainer
              | |
| DataExchangeField(FixedField) | 
            Construct class with fixed field
              | 
| Name | Description | |
|---|---|---|
| FixField | 
            Anvendes kun hvis PropertyId == 0
              (Inherited from FieldContainer.) | |
| PropertyId | 
            Id of the property which the field represents.
            Is zero if the field represents a fixed field.
              (Inherited from FieldContainer.) | |
| PropertySystemName | 
            System name of the property which the field represents.
              (Inherited from FieldContainer.) | |
| Value | 
            Based on the type and datatype of the field, value contains either a:
            string, int, datetime, double or a bool.
            Value can also be null.
            If field maps to a setproperty Value must be a string specifying the name of a setpropertyvalue.
            If field maps to a referenceproperty Value must be a string specifying the keyvalue of a referred dataobject.
            
            In case there is more than one value for the field Value will contain the first value.
              | |
| Values | 
            Values can be used in case there is more than one value for a field.
            Each entry in Values is either a string, int, datetime, double or a bool.
            An entry will never be null!
              | 
| Name | Description | |
|---|---|---|
| Clone | (Inherited from FieldContainer.) | |
| ContainsFixedField | (Inherited from FieldContainer.) | |
| ContainsFixedField(FixedField) | (Inherited from FieldContainer.) | |
| ContainsProperty | (Inherited from FieldContainer.) | |
| ContainsProperty(Int32) | (Inherited from FieldContainer.) | |
| ContainsReferencePathFixedField | (Inherited from FieldContainer.) | |
| ContainsReferenceProperty | (Inherited from FieldContainer.) | |
| ContainsValueProperty | (Inherited from FieldContainer.) | |
| ContainsValuePropertyWithLog | 
            Returns whether the field contains a property with log.
            If the property can't be located in the cache the method returns false.
              (Inherited from FieldContainer.) | |
| GetDeleted | (Inherited from FieldContainer.) | |
| GetDescription | (Inherited from FieldContainer.) | |
| GetFieldType | (Inherited from FieldContainer.) | |
| GetId | 
            Returns the id of the field property if m_property != null, else return fixfield id
              (Inherited from FieldContainer.) | |
| GetKey | (Inherited from FieldContainer.) | |
| GetName | (Inherited from FieldContainer.) | |
| GetName(Boolean) | 
            Returns the name of the field
              (Inherited from FieldContainer.) | |
| GetNegId | 
            Returns the id of the field property if m_propertyId != 0, 
            else return fixfield id negated.
              (Inherited from FieldContainer.) | |
| GetProperty | (Inherited from FieldContainer.) | |
| GetPropertyType | (Inherited from FieldContainer.) | |
| GetValue(DataObjectVersion) | 
            Returns the value for the field from the provided DataObjectVersion.
              (Inherited from FieldContainer.) | |
| GetValue(DataObjectVersion, AppFormatInfo) | 
            Returns the value for the field from the provided DataObjectVersion.
              (Inherited from FieldContainer.) | |
| GetValue(DataObjectVersion, String) | 
            Returns the value for the field from the provided DataObjectVersion.
              (Inherited from FieldContainer.) | |
| GetValue(DataObjectVersion, AppFormatInfo, String) | 
            Returns the value for the field from the provided DataObjectVersion.
              (Inherited from FieldContainer.) | |
| GetValue(DataObjectVersion, String, Boolean) | 
            Returns the value for the field from the provided DataObjectVersion.
              (Inherited from FieldContainer.) | |
| GetValue(DataObjectVersion, AppFormatInfo, String, Boolean) | 
            Returns the value for the field from the provided DataObjectVersion.
              (Inherited from FieldContainer.) | |
| GetValueUrl(DataObject) | (Inherited from FieldContainer.) | |
| GetValueUrl(DataObjectVersion) | 
            Returns a URL as the value.
            It can be a URL if the field contains value property with the data type hyperlink.
              (Inherited from FieldContainer.) | |
| GetWidthFactor | 
            Returns a number between 1 and 5.
            The number is used in views and indicates a relative width of the field.
            1 = very narrow, 2 = narrow, 3 = normal, 4 = wide, 5 = very wide.
              (Inherited from FieldContainer.) | |
| IsEqualTo | 
            Method can determine whether two fields contains the same two
            fixed fields or the same two properties based on their ID's.
              (Inherited from FieldContainer.) | |
| IsValueType | (Inherited from FieldContainer.) | |
| PassesFilter | (Inherited from FieldContainer.) | |
| SetupPropertyFormatter | (Inherited from FieldContainer.) | |
| ToString | (Inherited from FieldContainer.) | 
| Name | Description | |
|---|---|---|
| AllowsMultipleValues | 
            Is always false for a fixed field.
              (Inherited from FieldContainer.) | |
| FieldName | 
            Name of property or fixed field (in the active user's language)
              (Inherited from FieldContainer.) | |
| FieldNameShort | 
            Short name of property or fixed field (in the active user's language).
            Note: for properties FieldName and FieldNameShort are always the same.
              (Inherited from FieldContainer.) | |
| PropertyDataType | 
            If the field contains a ValueProperty then PropertyDataType is the property's DataType.
            If the field contains a SetProperty or ReferenceProperty then PropertyDataType is Text.
            If the field contains a FixedField that can be mapped to a ValueProperty then the corresponding data type is returned.
            Else then Text is returned.
              (Inherited from FieldContainer.) | |
| PropertyType | (Inherited from FieldContainer.) | 
| Name | Description | |
|---|---|---|
| ToBool | 
            Converts object to boolean.
              (Defined by ObjectExtensions.) | |
| ToDateTime | 
            Converts object to DateTime.
              (Defined by ObjectExtensions.) | |
| ToInt | 
            Converts object to integer.
              (Defined by ObjectExtensions.) |