Class UnitOfWorkManager
Inheritance
System.Object
UnitOfWorkManager
Assembly: Volo.Abp.Uow.dll
Syntax
public class UnitOfWorkManager : object, IUnitOfWorkManager, ISingletonDependency
Constructors
UnitOfWorkManager(IAmbientUnitOfWork, IHybridServiceScopeFactory)
Declaration
public UnitOfWorkManager(IAmbientUnitOfWork ambientUnitOfWork, IHybridServiceScopeFactory serviceScopeFactory)
Parameters
Properties
Current
Declaration
public IUnitOfWork Current { get; }
Property Value
Methods
Begin(AbpUnitOfWorkOptions, Boolean)
Declaration
public IUnitOfWork Begin(AbpUnitOfWorkOptions options, bool requiresNew = false)
Parameters
Returns
BeginReserved(String, AbpUnitOfWorkOptions)
Declaration
public void BeginReserved(string reservationName, AbpUnitOfWorkOptions options)
Parameters
Reserve(String, Boolean)
Declaration
public IUnitOfWork Reserve(string reservationName, bool requiresNew = false)
Parameters
Type |
Name |
Description |
System.String |
reservationName |
|
System.Boolean |
requiresNew |
|
Returns
TryBeginReserved(String, AbpUnitOfWorkOptions)
Declaration
public bool TryBeginReserved(string reservationName, AbpUnitOfWorkOptions options)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods