Click or drag to resize

DataExchangeConfigurationBase Class

Models the configuration of a DataExchange (import and export of DataObjects)
Inheritance Hierarchy

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public abstract class DataExchangeConfigurationBase : ICloneable, 
	IObjectWithId, IObjectWithDataVersion, IObjectWithGuid

The DataExchangeConfigurationBase type exposes the following members.

Constructors
  NameDescription
Public methodDataExchangeConfigurationBase
Construct the obhect with an ID, a Direction and a DataObjectType ID.
Top
Properties
  NameDescription
Public propertyChangedBy
Entity data version for static cache synchonization
Public propertyChangeTime
Date of last change of the configuration
Public propertyCreatedBy
ID of User who created the configuration
Public propertyCreateTime
Date when configuration was created initially
Public propertyDataObjectTypeId
Provides the DataObjectType of the objects being imported/exported
Public propertyDataVersion
Entity data version for static cache synchonization
Public propertyDirection
Inbound or outbound
Public propertyDisregardGroupMembership
When set to true users are always imported. When set to false the user is only imported when being a member of one of the provided UserGroups (used as a filter). Attribute is only used when importing Users.
Public propertyFailCMDLineOnErrors
Used for command line usage, where the caller wants the dataexchange to exit with an error on errors in the message log.
Public propertyFields
Contains a collection of fields (fixed fields and properties) which should be transferred to/from the target system. The field is found on the DataObjectType provided in DataObjectTypeId.
Public propertyId
ID of the configuration
Public propertyImportMode
ImportMode is only used if Direction=In.
Public propertyKeyField
The field (property) which is used to identify the DataObject to determine of it an update or an insert (like a primary key). Is only used when Direction=In.
Public propertyMissingObjectAction
Determines whether objects are deleted when they are not found in the data source. Only used when Direction=In
Public propertyMissingReferenceAction
Determines the behaviour of an import into a Reference property if the existing values are not found in the data source. The existing values are either deleted (full sync) or the values in the data source are added to the DataObject Only used when Direction=In.
Public propertyName
The name of the DataExchange configuration
Public propertyNumber
Number of the configuration taken from a sequence
Public propertyPerformOnOriginObjects
Determines whether the MissingObjectAction can be performed on all object or only those object which are created the this configuration
Public propertyTestMode
In test mode, the data exchange is run normally, but data is not committed to the database.
Public propertyTimerId
If defined, the DataExchange is executed on this timer.
Public propertyType
Type of source/target system
Public propertyUId
UID of the configuration
Public propertyUserGroupIds
The attribute is used to synchonize UserGroup memberships. It can be used as a filter so only users which are member of one of the provided groups are imported (DisregardGroupMembership=false) or only to synchronize groupmemberships (DisregardGroupMembership=true). The users will also be removed from the provided UserGroups if the data source does not indicate a membership (full synchronization) Only used when Direction=In and UserImport=true.
Public propertyUserImport
Determines whether its a User import. Only used when Direction=In
Top
Methods
  NameDescription
Public methodFieldMapContainsKeyField
Returns true if the configuration's keyfield is present in the configuration's fieldmap.
Public methodStatic memberFieldMapContainsKeyField(DataExchangeConfigurationBase)
Returns true if the configuration's keyfield is present in the configuration's fieldmap.
Public methodRemoveInvalidFields
Removes fields from fields collection which are not available in the provided DataObjectType
Public methodValidate
Validates that the configuration is in a valid state (to be executed). Returns true if it is. If method returns false then 'message' will contain a description of the problem.
Top
Fields
  NameDescription
Protected fieldm_changedBy
ID user user whi performed the last change of the configuration
Protected fieldm_changeTime
Date of last change of the configuration
Protected fieldm_createdBy
ID of User who created the configuration
Protected fieldm_createTime
Date when configuration
Protected fieldm_dataObjectTypeId
Provides the DataObjectType of the objects being imported/exported
Protected fieldm_dataVersion
Entity data version for static cache synchonization
Protected fieldm_disregardGroupMembership
When set to true users are always imported. When set to false the user is only imported when being a member of one of the provided UserGroups (used as a filter). Attribute is only used when importing Users.
Protected fieldm_id
ID of the configuration
Protected fieldm_importMode
ImportMode is only used if Direction=In.
Protected fieldm_keyField
The field (property) which is used to identify the DataObject to determine of it an update or an insert (like a primary key). Is only used when Direction=In.
Protected fieldm_missingObjectAction
Determines whether objects are deleted when they are not found in the data source. Only used when Direction=In
Protected fieldm_missingReferenceAction
Determines the behaviour of an import into a Reference property if the existing values are not found in the data source. The existing values are either deleted (full sync) or the values in the data source are added to the DataObject Only used when Direction=In.
Protected fieldm_name
The name of the DataExchange configuration
Protected fieldm_number
Number of the configuration taken from a sequence
Protected fieldm_performOnOriginObjects
Determines whether the MissingObjectAction can be performed on all object or only those object which are created the this configuration
Protected fieldm_testMode
In test mode, the data exchange is run normally, but data is not committed to the database.
Protected fieldm_timerId
If defined, the DataExchange is executed on this timer.
Protected fieldm_type
Type of source/target system
Protected fieldm_uid
UID of the configuration
Protected fieldm_userGroupIds
The attribute is used to synchonize UserGroup memberships. It can be used as a filter so only users which are member of one of the provided groups are imported (DisregardGroupMembership=false) or only to synchronize groupmemberships (DisregardGroupMembership=true). The users will also be removed from the provided UserGroups if the data source does not indicate a membership (full synchronization) Only used when Direction=In and UserImport=true.
Protected fieldm_userImport
Determines whether its a User import. Only used when Direction=In
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
Explicit Interface Implementations
See Also