Class AlwaysDisableTransactionsUnitOfWorkManager
Inheritance
object
AlwaysDisableTransactionsUnitOfWorkManager
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Uow
Assembly: Volo.Abp.Uow.dll
Syntax
[DisableConventionalRegistration]
public class AlwaysDisableTransactionsUnitOfWorkManager : IUnitOfWorkManager
Constructors
AlwaysDisableTransactionsUnitOfWorkManager(UnitOfWorkManager)
Declaration
public AlwaysDisableTransactionsUnitOfWorkManager(UnitOfWorkManager unitOfWorkManager)
Parameters
Type | Name | Description |
---|---|---|
UnitOfWorkManager | unitOfWorkManager |
Properties
Current
Declaration
public IUnitOfWork? Current { get; }
Property Value
Type | Description |
---|---|
IUnitOfWork |
Methods
Begin(AbpUnitOfWorkOptions, bool)
Declaration
public IUnitOfWork Begin(AbpUnitOfWorkOptions options, bool requiresNew = false)
Parameters
Type | Name | Description |
---|---|---|
AbpUnitOfWorkOptions | options | |
bool | requiresNew |
Returns
Type | Description |
---|---|
IUnitOfWork |
BeginReserved(string, AbpUnitOfWorkOptions)
Declaration
public void BeginReserved(string reservationName, AbpUnitOfWorkOptions options)
Parameters
Type | Name | Description |
---|---|---|
string | reservationName | |
AbpUnitOfWorkOptions | options |
Reserve(string, bool)
Declaration
public IUnitOfWork Reserve(string reservationName, bool requiresNew = false)
Parameters
Type | Name | Description |
---|---|---|
string | reservationName | |
bool | requiresNew |
Returns
Type | Description |
---|---|
IUnitOfWork |
TryBeginReserved(string, AbpUnitOfWorkOptions)
Declaration
public bool TryBeginReserved(string reservationName, AbpUnitOfWorkOptions options)
Parameters
Type | Name | Description |
---|---|---|
string | reservationName | |
AbpUnitOfWorkOptions | options |
Returns
Type | Description |
---|---|
bool |