Click or drag to resize

DataExchangeController Methods

The DataExchangeController type exposes the following members.

Methods
  NameDescription
Public methodConvertId(Int32, ConfigurationObjectType)
Converts the integer id of an object to its transport-safe unique id (UId).
(Inherited from ControllerBase.)
Public methodConvertId(String, ConfigurationObjectType)
Converts a string representation of an integer or Guid id to an integer id.
(Inherited from ControllerBase.)
Public methodConvertId(Guid, ConfigurationObjectType, Boolean)
Converts the transport-safe unique id (UId) of an object to its integer id.
(Inherited from ControllerBase.)
Public methodConvertIds(IEnumerableGuid, ConfigurationObjectType)
Converts the transport-safe unique ids (UId) of a number of objects to integer ids.
(Inherited from ControllerBase.)
Public methodConvertIds(IEnumerableInt32, ConfigurationObjectType)
Converts the integer ids of a number of objects to their transport-safe unique ids (UId).
(Inherited from ControllerBase.)
Public methodDeleteDataExchangeConfiguration(DataExchangeConfigurationBase)
Public methodStatic memberDeleteDataExchangeConfiguration(DataExchangeConfigurationBase, SqlConnection, SqlTransaction)
Deletes the provided DataExchangeConfiguration object in the database. The delete is logged into the configuration change log.
Public methodDeleteDataExchangeConfigurationMapFields(IntegerList)
Deletes the provided mapping fields from the DataExchange. The delete is logged into the configuration change log.
Public methodStatic memberDeleteDataExchangeConfigurationMapFields(IntegerList, SqlConnection, SqlTransaction)
Deletes the provided mapping fields from the DataExchange. The delete is logged into the configuration change log.
Public methodDeleteOldLogEntries
Deletes a chunk of log entries from tblDataExchangeLog which are more than "deleteAfter" days old
Public methodDoInConnection(ControllerBaseActionWithNoResult)
Executes an action that doesn't return a result. If no current connection exists, it will establish a connection to the database and close it afterwards. An existing connection will be reused. Inside the action, the connection is available as DbConnection.
(Inherited from ControllerBase.)
Public methodDoInConnection(ActionSqlConnection, SqlTransaction, Boolean)
Executes an action that doesn't return a result. If no current connection exists, it will establish a connection to the database and close it afterwards. Connection and Transaction are passed to delegate, to allow passing to other controllers An existing connection will be reused. Inside the action, the connection is available as DbConnection. To ensure a new connection set forceNew to true.
(Inherited from ControllerBase.)
Public methodDoInConnectionT(ControllerBaseActionWithResultT)
Executes an action and returns the result. If no current connection exists, it will establish a connection to the database and close it afterwards. An existing connection will be reused. Inside the action, the connection is available as DbConnection.
(Inherited from ControllerBase.)
Public methodDoInTransaction(ControllerBaseActionWithNoResult)
Executes an action (that doesn't return a result) in a transaction. If no current connection and/or transaction exists, it will establish it and commit and close it afterwards. An existing connection/transaction will be reused. Inside the action, the connection is available as DbConnection and the transaction as DbTransaction.
(Inherited from ControllerBase.)
Public methodDoInTransactionT(ControllerBaseActionWithResultT)
Executes an action in a transaction and returns the result. If no current connection and/or transaction exists, it will establish it and commit and close it afterwards. An existing connection/transaction will be reused. Inside the action, the connection is available as DbConnection and the transaction as DbTransaction.
(Inherited from ControllerBase.)
Public methodDoInTransactionT(FuncSqlConnection, SqlTransaction, T, Boolean)
Executes an action in a transaction and returns the result. Connection and Transaction are passed to delegate, to allow passing to other controllers If no current connection and/or transaction exists, it will establish it and commit and close it afterwards. An existing connection/transaction will be reused. Set forceNew to true to ensure new connection and transaction Inside the action, the connection is available as DbConnection and the transaction as DbTransaction.
(Inherited from ControllerBase.)
Public methodExecuteDataExchange(DataExchangeConfigurationBase)
Public methodExecuteDataExchange(Int32, Boolean)
Executes the DataExchange with the provided ID.
Public methodStatic memberExecuteDataExchange(DataExchangeConfigurationBase, SqlConnection)
Public methodStatic memberExecuteDataExchange(Int32, Boolean, SqlConnection)
Executes the DataExchange with the provided ID.
Public methodExecuteMutexOperation(String, Action, Boolean) (Inherited from ControllerBase.)
Public methodStatic memberGetComputersInDomain
Utility method which can return all computer object names (cn) is a domain.
Public methodGetDataExchangeConfigurationCount(DataExchangeConfigurationCountLoadOptions)
Loads the number of DataExchangeConfigurations based on the loadOptions.
Public methodStatic memberGetDataExchangeConfigurationCount(DataExchangeConfigurationCountLoadOptions, SqlConnection, SqlTransaction)
Loads the number of DataExchangeConfigurations based on the loadOptions.
Public methodStatic memberGetDataExchangeConfigurationFieldName
Public methodStatic memberGetDataExchangeConfigurationId
Public methodGetDataExchangeConfigurationIdByFieldId(Int32)
Public methodStatic memberGetDataExchangeConfigurationIdByFieldId(Int32, SqlConnection, SqlTransaction)
Public methodGetDataExchangeConfigurationManager(DataExchangeConfigurationLoadOptions)
Gets a data exchange configuration manager containing a list of DataExchangeConfigurations.
Public methodStatic memberGetDataExchangeConfigurationManager(DataExchangeConfigurationLoadOptions, SqlConnection, SqlTransaction)
Gets a data exchange configuration manager containing a list of DataExchangeConfigurations.
Public methodStatic memberGetDataExchangeConfigurationName
Public methodStatic memberGetDataExchangeConfigurationUId
Public methodStatic memberGetDataExchangeIdByFieldId
Public methodGetDataExchangeLogCount(DataExchangeLogCountLoadOptions)
Public methodStatic memberGetDataExchangeLogCount(DataExchangeLogCountLoadOptions, SqlConnection, SqlTransaction)
Gets the number of DataExchange execution logs based on the loadOptions.
Public methodGetDataExchangeLogManager(DataExchangeLogLoadOptions)
Loads a DataExchangeManager object vased on the loadOptions.
Public methodStatic memberGetDataExchangeLogManager(DataExchangeLogLoadOptions, SqlConnection, SqlTransaction)
Loads a DataExchangeManager object vased on the loadOptions.
Public methodStatic memberGetDataObjectConfigurationLDAPUser
Gets the LDAP username and password stated on the data exchange, from which a data object was originally imported.
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultIntegerList, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultAppIdentity, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultBoolean, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultIListGuid, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultListGuid, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultListInt32, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultGuid, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultInt32, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresent(String, ControllerBaseActionWithResultTimeZoneInfo, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresentT(String, ControllerBaseActionWithResultListT, ControllerBaseCacheOptions) (Inherited from ControllerBase.)
Public methodGetFromCacheIfPresentT(String, ControllerBaseActionWithResultT, ControllerBaseCacheOptions)
Retrieves some data from the cache or (if it is not there) executes an action and stores the result in the cache. Caching is not applied if the IgnoreCacheContext is used (depending on the parameter for it). Note: caching should only be used with great care as there are a number of potential issues involved in using it!
(Inherited from ControllerBase.)
Public methodGetLDAPObjects
Henter et antal objekter fra et directory vha LDAP.
Public methodStatic memberGetReferencePropertyDataObjTypeInfoDict
Public methodGetSqlQueryColumns
Public methodStatic memberGetTextFileObjects
Public methodLDAPObjectExists
Returnerer om der findes et LDAP objekt, som opfylder visse angivne filterkriterier, og som findes (på et vilkårligt niveau) under en angiven knude.
Public methodSaveDataExchangeConfiguration(DataExchangeConfigurationBase, DataExchangeConfigurationSaveOptions)
Public methodStatic memberSaveDataExchangeConfiguration(DataExchangeConfigurationBase, DataExchangeConfigurationSaveOptions, SqlConnection, SqlTransaction) Obsolete.
Public methodSaveDataExchangeField(Int32, DataExchangeFld)
Public methodStatic memberSaveDataExchangeField(Int32, DataExchangeFld, SqlConnection, SqlTransaction)
Public methodSaveDataExchangeFields(Int32, DataExchangeFlds)
Public methodStatic memberSaveDataExchangeFields(Int32, DataExchangeFlds, SqlConnection, SqlTransaction)
Public methodStatic memberSynchronizeUserFromLDAP
Synkroniserer (importerer) et enkelt user-dataobjekt (behøver ikke være den indbyggede user-type). Dataobjektet skal findes i systemet i forvejen. Synkroniseres fra en data exchange config som skal være opsat så den henter brugere fra AD/ADAM. Metoden modificerer data exchange configurationens filter, så den henter netop en specifik bruger. Håndterer ikke: - gruppemedlemsskaber - frakobling, hvis bruger er disablet i AD/ADAM.
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