ExchangeObject Class |
Namespace: Omada.OE.AppLogic.Serialization.Model
public class ExchangeObject
The ExchangeObject type exposes the following members.
| Name | Description | |
|---|---|---|
| ExchangeObject |
| Name | Description | |
|---|---|---|
| ObjectTypeId |
The Id of the data object type of the data object that the Exchange Object represents.
Either ObjectUId or ObjectTypeId is always present.
| |
| ObjectUId |
The UId of the data object that the Exchange Object represents.
Either ObjectUId or ObjectTypeId is always present.
| |
| Operation |
Should the object be created, updated or deleted?
| |
| Properties |
Property values for the object.
Use AddProperty() to add a property.
| |
| PropertyCount | ||
| Tag |
Optional "tag" value which is not used by the processing logic.
Can be null.
|
| Name | Description | |
|---|---|---|
| AddProperty |
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.
| |
| GetProperty | ||
| GetSinglePropertyValue(String, Boolean) |
Returns the value of a property of data type 'Boolean' (that is, a Value property w. datatype 'Boolean').
| |
| GetSinglePropertyValue(String, DateTime) |
Returns the value of a property of data type 'DateTime' (that is, a Value property w. datatype 'DateTime').
| |
| GetSinglePropertyValue(String, Double) |
Returns the value of a property of data type 'double' (that is, a Value property w. datatype 'Decimal').
| |
| GetSinglePropertyValue(String, Guid) |
Returns the value of a property of data type 'Guid' (that is, a Set- or a Reference-property).
| |
| GetSinglePropertyValue(String, Int32) |
Returns the value of a property of data type 'Integer' (that is, a Value property w. datatype 'Integer').
| |
| GetSinglePropertyValue(String, String) |
Returns the value of a property of data type 'String' (that is, a Value property w. datatype 'Text').
| |
| GetSinglePropertyValue(String, TimeSpan) |
Returns the value of a property of data type 'TimeSpan' (that is, a Value property w. datatype 'TimeSpan').
|
| 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.) |