Click or drag to resize

Property Class

Represents value(s) for a property on an ExchangeObject.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.Serialization.ModelProperty

Namespace:  Omada.OE.AppLogic.Serialization.Model
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class Property

The Property type exposes the following members.

Constructors
  NameDescription
Public methodProperty(String, PropertyValuesContainer)
Used by the SurveyController.
Public methodProperty(String, PropertyType, Boolean, KeyType)
Public methodProperty(BaseProperty, KeyType, String, String)
Constructor is used for deserializing data objects. Also it is used by the survey feature.
Public methodProperty(DataObjectVersionProperty, BaseProperty, String, KeyType)
Creates a Property(Action) based on a DataObjectVersionProperty. Constructor is used for serializing data objects. Also it is used by the survey feature.
Top
Properties
  NameDescription
Public propertyClearExistingValues
Should the existing value(s) for the property be cleared? (import only)
Public propertyContainsNoneOrOnlyGuidOrIntValues
Is true if the property has no values or if all the values are of type Guid or int.
Public propertyKeyType
Is the property value used to identify the object in the system during an import? We operate with a "key1" and a "key2" (Note that more than one property can be part of both key1 and key2). First we try to find an object based on key1. If unsuccesfull we try to find one based on key2.
Public propertyName
Property System Name.
Public propertyOnlyOnCreate
If true the changes for the property will only be considered if the data object is being created (not if it is updated).
Public propertyPropertyType
Public propertySingleValue
Public propertySupportsMultipleValues
Does the property support multiple values? (true for some Set- and Reference-properties and for Value properties with data type 'multi-lang text').
Public propertyTargetKeyProperty
Only relevant when the property is a reference property. If specified (not null) then the importer will look for a value in the property - instead of in the key property stated on the data object type. Must denote a value property w. data type text.
Public propertyValueCount
Public propertyValues
Values for the property. Use AddValue() to add a value.
Public propertyValuesArray
Top
Methods
  NameDescription
Public methodAddValue
Public methodClearValues
Public methodStatic memberGetProperty
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also