MIISController Class |
Namespace: Omada.OE.AppLogic
public sealed class MIISController : ControllerBase
The MIISController type exposes the following members.
Name | Description | |
---|---|---|
![]() | MIISController(String) | |
![]() | MIISController(ControllerBase) | |
![]() | MIISController(SqlConnection, SqlTransaction, Int32) |
Name | Description | |
---|---|---|
![]() | ConnectionString |
Connection string for the database.
Can be null.
(Inherited from ControllerBase.) |
![]() | DbCommandTimeout |
DbCommandTimeout is applied to SqlCommand objects created using CreateSqlCommand().
The DbCommandTimeout value is (normally) passed on to other controllers created by the controller.
If DbCommandTimeout is Zero then the DB default will be used as timeout.
(Inherited from ControllerBase.) |
![]() | DbConnection |
Consider using CreateCommand() instead of accessing DbConnection directly.
DbConnection and DbTransaction are either specified when constucting the controller or
the controller constructs them itself (by using ConnectionString) when calling DoInConnection or DoInTransaction.
If the caller specified DbConnection and DbTransaction when constucting the controller then the caller is responsible for the management of the connection.
(Inherited from ControllerBase.) |
![]() | DbTransaction |
Consider using CreateCommand() instead of accessing DbTransaction directly.
DbConnection and DbTransaction are either specified when constucting the controller or
the controller constructs them itself (by using ConnectionString) when calling DoInConnection or DoInTransaction.
If the caller specified DbConnection and DbTransaction when constucting the controller then the caller is responsible for the management of the connection.
(Inherited from ControllerBase.) |
![]() | Factory |
Factory class for creating controller instances.
(Inherited from ControllerBase.) |
Name | Description | |
---|---|---|
![]() | ChangeUserPassword |
Sets the password for a user.
|
![]() | CheckMIISTransferConsistency |
For each of the properties in the collection, no use of the same
property in another type must have a different MIISTransfer.
|
![]() | CheckMIISTypeConsistency |
Check that no ref. property has a view using two types
|
![]() | ConvertId(Int32, ConfigurationObjectType) |
Converts the integer id of an object to its transport-safe unique id (UId).
(Inherited from ControllerBase.) |
![]() | ConvertId(String, ConfigurationObjectType) |
Converts a string representation of an integer or Guid id to an integer id.
(Inherited from ControllerBase.) |
![]() | ConvertId(Guid, ConfigurationObjectType, Boolean) |
Converts the transport-safe unique id (UId) of an object to its integer id.
(Inherited from ControllerBase.) |
![]() | ConvertIds(IEnumerableGuid, ConfigurationObjectType) |
Converts the transport-safe unique ids (UId) of a number of objects to integer ids.
(Inherited from ControllerBase.) |
![]() | ConvertIds(IEnumerableInt32, ConfigurationObjectType) |
Converts the integer ids of a number of objects to their transport-safe unique ids (UId).
(Inherited from ControllerBase.) |
![]() | DoInConnection(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.) |
![]() | DoInConnection(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.) |
![]() | DoInConnectionT(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.) |
![]() | DoInTransaction(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.) |
![]() | DoInTransactionT(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.) |
![]() | DoInTransactionT(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.) |
![]() | ExecuteMutexOperation(String, Action, Boolean) | (Inherited from ControllerBase.) |
![]() | GenerateMgmtAgentIntermediateXml |
The method generates intermediate xml for generating an actual management agent configuration file.
The result conforms to the MABldrData.xsd schema.
|
![]() ![]() | GetAttributeValuePairs |
Returns a list woth the data objects' properties and fixed fields in MIM Sync AVP (Attribute Value Pairs) format.
Used when data (e.g. identities) are sent to MIM Sync.
|
![]() ![]() | GetAVPFormatter | |
![]() | GetDataObjectIds | |
![]() | GetDataObjectsAVP(GuidCollection) |
Returns AVP data for a number of data objects.
|
![]() | GetDataObjectsAVP(IntegerList) |
Returns AVP data for a number of data objects.
|
![]() ![]() | GetDataObjectsAVP(IntegerList, SqlConnection, SqlTransaction) | |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultIntegerList, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultAppIdentity, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultBoolean, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultIListGuid, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultListGuid, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultListInt32, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultGuid, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultInt32, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresent(String, ControllerBaseActionWithResultTimeZoneInfo, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresentT(String, ControllerBaseActionWithResultListT, ControllerBaseCacheOptions) | (Inherited from ControllerBase.) |
![]() | GetFromCacheIfPresentT(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.) |
![]() ![]() | GetReferredDataObjectKeyValues |
Returns a dictionary holding a key value for every data object, that is referred by the specified data objects.
A referred data object is only included if:
- its referred through a reference property where its specified (on the data object type) that key values should be transferred (as opposed to ids).
- the direction is Out or InOut.
|
![]() ![]() | LoadDataObjects | |
![]() | SetUserPassword |
Sets the password for a user.
|
![]() | UpdateDataObject(String) |
Opdaterer/opretter/sletter et enkelt dataobjekt fra AVP data.
Returnerer id'et for dataobjektet.
|
![]() ![]() | UpdateDataObject(String, SqlConnection, SqlTransaction) |
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.) |