Show / Hide Table of Contents

Interface IUnitOfWorkManager

Namespace: Volo.Abp.Uow
Assembly: Volo.Abp.Uow.dll
Syntax
public interface IUnitOfWorkManager

Properties

Current

Declaration
IUnitOfWork? Current { get; }
Property Value
Type Description
IUnitOfWork

Methods

Begin(AbpUnitOfWorkOptions, bool)

Declaration
IUnitOfWork Begin(AbpUnitOfWorkOptions options, bool requiresNew = false)
Parameters
Type Name Description
AbpUnitOfWorkOptions options
bool requiresNew
Returns
Type Description
IUnitOfWork

BeginReserved(string, AbpUnitOfWorkOptions)

Declaration
void BeginReserved(string reservationName, AbpUnitOfWorkOptions options)
Parameters
Type Name Description
string reservationName
AbpUnitOfWorkOptions options

Reserve(string, bool)

Declaration
IUnitOfWork Reserve(string reservationName, bool requiresNew = false)
Parameters
Type Name Description
string reservationName
bool requiresNew
Returns
Type Description
IUnitOfWork

TryBeginReserved(string, AbpUnitOfWorkOptions)

Declaration
bool TryBeginReserved(string reservationName, AbpUnitOfWorkOptions options)
Parameters
Type Name Description
string reservationName
AbpUnitOfWorkOptions options
Returns
Type Description
bool

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
UnitOfWorkManagerExtensions.Begin(IUnitOfWorkManager, bool, bool, IsolationLevel?, int?)
UnitOfWorkManagerExtensions.BeginReserved(IUnitOfWorkManager, string)
UnitOfWorkManagerExtensions.TryBeginReserved(IUnitOfWorkManager, string)
In this article
Back to top Powered by ABP.IO Platform