Click or drag to resize

ExchangeObject Class

Represents an object to be imported.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.Serialization.ModelExchangeObject

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

The ExchangeObject type exposes the following members.

Constructors
  NameDescription
Public methodExchangeObject
Top
Properties
  NameDescription
Public propertyObjectTypeId
The Id of the data object type of the data object that the Exchange Object represents. Either ObjectUId or ObjectTypeId is always present.
Public propertyObjectUId
The UId of the data object that the Exchange Object represents. Either ObjectUId or ObjectTypeId is always present.
Public propertyOperation
Should the object be created, updated or deleted?
Public propertyProperties
Property values for the object. Use AddProperty() to add a property.
Public propertyPropertyCount
Public propertyTag
Optional "tag" value which is not used by the processing logic. Can be null.
Top
Methods
  NameDescription
Public methodAddProperty
Adds a property. Throws an error if the exchange object already contains a property with the same name (case-insensitive matching applied). Throws an error if the property is marked as key and the exchange object already contains a key property.
Public methodGetProperty
Public methodGetSinglePropertyValue(String, Boolean)
Returns the value of a property of data type 'Boolean' (that is, a Value property w. datatype 'Boolean').
Public methodGetSinglePropertyValue(String, DateTime)
Returns the value of a property of data type 'DateTime' (that is, a Value property w. datatype 'DateTime').
Public methodGetSinglePropertyValue(String, Double)
Returns the value of a property of data type 'double' (that is, a Value property w. datatype 'Decimal').
Public methodGetSinglePropertyValue(String, Guid)
Returns the value of a property of data type 'Guid' (that is, a Set- or a Reference-property).
Public methodGetSinglePropertyValue(String, Int32)
Returns the value of a property of data type 'Integer' (that is, a Value property w. datatype 'Integer').
Public methodGetSinglePropertyValue(String, String)
Returns the value of a property of data type 'String' (that is, a Value property w. datatype 'Text').
Public methodGetSinglePropertyValue(String, TimeSpan)
Returns the value of a property of data type 'TimeSpan' (that is, a Value property w. datatype 'TimeSpan').
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