Performs a unit of work by executing the action within a transaction to perform an all or nothing operation.
Namespace: SimpleMode.SecureLicenseManager.DataAssembly: SimpleMode.SecureLicenseManager.Data (in SimpleMode.SecureLicenseManager.Data.dll) Version: 1.5.5120.0 (1.5.5120.0)
Syntax
C# |
---|
void ExecuteUnitOfWork( Action<IRepository> unitOfWorkAction ) |
Visual Basic |
---|
Sub ExecuteUnitOfWork ( _ unitOfWorkAction As Action(Of IRepository) _ ) |
Visual C++ |
---|
void ExecuteUnitOfWork( Action<IRepository^>^ unitOfWorkAction ) |
Parameters
- unitOfWorkAction
- Type: System..::..Action<(Of <(<'IRepository>)>)>
The unit of work action that wraps the operations that need to be executed within a transaction.