Click or drag to resize

ConfigurationChangeController Class

Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogicControllerBase
    Omada.OE.AppLogicConfigurationChangeController

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public sealed class ConfigurationChangeController : ControllerBase

The ConfigurationChangeController type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyConnectionString
Connection string for the database. Can be null.
(Inherited from ControllerBase.)
Public propertyDbCommandTimeout
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.)
Public propertyDbConnection
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.)
Public propertyDbTransaction
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.)
Public propertyFactory
Factory class for creating controller instances.
(Inherited from ControllerBase.)
Top
Methods
  NameDescription
Public methodStatic memberAssignToChangeSet
Assigns a configuration change to a change set.
Public methodConfigurationObjectInfoResolveObjectsInfo
Resolves a "display value" and "sub type" of a number of objects.
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 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 methodExecuteMutexOperation(String, Action, Boolean) (Inherited from ControllerBase.)
Public methodStatic memberGetAppStringConfigObjField
Given an appstringid and an objecttype the method returns the field which the appstring is used for.
Public methodGetChangeSetLockingConfigObject(Guid, Int32, NullableConfigurationObjectType)
Returns the id of the change set which has a "lock" on a configuration object. Returns 0 if no change set has a lock. If more than one change set has a lock the method returns the id of one of them. The method is used to prevent that a configuration object is modified at the same time on different change sets. Change sets are only considered if they are open. Configuration objects are not locked by changes which doesn't belong to a change set.
Public methodStatic memberGetChangeSetLockingConfigObject(Guid, Int32, SqlConnection, SqlTransaction) Obsolete.
Public methodGetChangeSetName(Int32)
Public methodStatic memberGetChangeSetName(Int32, SqlConnection, SqlTransaction)
Public methodGetConfigurationChangeCauseCount(ConfigurationChangeCauseCountLoadOptions)
Public methodStatic memberGetConfigurationChangeCauseCount(ConfigurationChangeCauseCountLoadOptions, SqlConnection, SqlTransaction)
Public methodGetConfigurationChangeCauseManager(ConfigurationChangeCauseLoadOptions)
Public methodStatic memberGetConfigurationChangeCauseManager(ConfigurationChangeCauseLoadOptions, SqlConnection, SqlTransaction)
Public methodGetConfigurationChangeCount(ConfigurationChangeCountLoadOptions)
Public methodStatic memberGetConfigurationChangeCount(ConfigurationChangeCountLoadOptions, SqlConnection, SqlTransaction)
Public methodGetConfigurationChangeManager(ConfigurationChangeLoadOptions)
Public methodStatic memberGetConfigurationChangeManager(ConfigurationChangeLoadOptions, SqlConnection, SqlTransaction)
Public methodGetConfigurationObjectId(ConfigurationObjectType, Guid)
Locates a configuration object by it's UId and returns it's Id. If the object can't be located then zero is returned.
Public methodStatic memberGetConfigurationObjectId(ConfigurationObjectType, Guid, SqlConnection, SqlTransaction)
Locates a configuration object by it's UId and returns it's Id. If the object can't be located then zero is returned.
Public methodGetConfigurationObjectIdCheck(Guid, ConfigurationObjectType)
Public methodStatic memberGetConfigurationObjectIdCheck(ConfigurationObjectType, Guid, SqlConnection, SqlTransaction)
Locates a configuration object by it's UId and returns it's Id. If the object can't be located an exception is thrown.
Public methodGetConfigurationObjectIds
Locates configuration objects by their UId and returns their Ids. If an object can't be located then it is omitted from the result.
Public methodStatic memberGetConfigurationObjectIdZero
Locates a configuration object by it's UId and returns it's Id. If the object can't be located or the UID is empty then zero is returned.
Public methodStatic memberGetConfigurationObjectName
Returns the "name" of a configuration object. The method is used for retrieving description values for referred object guids.
Public methodGetConfigurationObjectUId(ConfigurationObjectType, Int32)
Locates a configuration object by it's Id and returns it's UId. If the object can't be located then an empty Guid is returned.
Public methodStatic memberGetConfigurationObjectUId(ConfigurationObjectType, Int32, SqlConnection, SqlTransaction)
Locates a configuration object by it's Id and returns it's UId. If the object can't be located then an empty Guid is returned.
Public methodStatic memberGetConfigurationObjectUIdCheck
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 methodGetTransitionTemplateIdAndCheck(String)
Return transition template Id
Public methodStatic memberGetTransitionTemplateIdAndCheck(String, SqlConnection, SqlTransaction)
Return transition template Id
Public methodImportChangesFromXml
Imports the provided change set file. Errors are not allowed. Doesn't run in test mode.
Public methodStatic memberImportConfigurationChanges Obsolete.
Public methodMergeChangeSets
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