| OdwControllerRunExclusive Method |
Executes the action exclusively acquiring a synchronization lock
Namespace:
Omada.OE.Solution.OIM.AppLogic.Analytics
Assembly:
Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual void RunExclusive(
Action action
)
Parameters
- action
- Type: SystemAction
Code that should run in sync. The code is not run within same transaction as the lock.
RemarksSynchronization of database operations within the action is achieved by acquiring an application lock on
a virtual database resource named BI. Lock is set to exclusive, which means no other process can acquire same lock.
Action is executed using default factory connection, but the lock is keeping own connection for the duration of action.
See Also