Show / Hide Table of Contents

Class UnitOfWorkAttribute

Inheritance
object
Attribute
UnitOfWorkAttribute
Inherited Members
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.Equals(object)
Attribute.GetHashCode()
Attribute.Match(object)
Attribute.IsDefaultAttribute()
Attribute.TypeId
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Volo.Abp.Uow
Assembly: Volo.Abp.Uow.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method|AttributeTargets.Interface)]
public class UnitOfWorkAttribute : Attribute

Constructors

UnitOfWorkAttribute()

Declaration
public UnitOfWorkAttribute()

UnitOfWorkAttribute(bool)

Declaration
public UnitOfWorkAttribute(bool isTransactional)
Parameters
Type Name Description
bool isTransactional

UnitOfWorkAttribute(bool, IsolationLevel)

Declaration
public UnitOfWorkAttribute(bool isTransactional, IsolationLevel isolationLevel)
Parameters
Type Name Description
bool isTransactional
IsolationLevel isolationLevel

UnitOfWorkAttribute(bool, IsolationLevel, int)

Declaration
public UnitOfWorkAttribute(bool isTransactional, IsolationLevel isolationLevel, int timeout)
Parameters
Type Name Description
bool isTransactional
IsolationLevel isolationLevel
int timeout

Properties

IsDisabled

Declaration
public bool IsDisabled { get; set; }
Property Value
Type Description
bool

IsTransactional

Declaration
public bool? IsTransactional { get; set; }
Property Value
Type Description
bool?

IsolationLevel

Declaration
public IsolationLevel? IsolationLevel { get; set; }
Property Value
Type Description
IsolationLevel?

Timeout

Declaration
public int? Timeout { get; set; }
Property Value
Type Description
int?

Methods

SetOptions(AbpUnitOfWorkOptions)

Declaration
public virtual void SetOptions(AbpUnitOfWorkOptions options)
Parameters
Type Name Description
AbpUnitOfWorkOptions options

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>)
In this article
Back to top Powered by ABP.IO Platform