Class UnitOfWorkAttribute
Inheritance
object
System.Attribute
UnitOfWorkAttribute
Inherited Members
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, bool)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, bool)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, bool)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, bool)
System.Attribute.Equals(object)
System.Attribute.GetHashCode()
System.Attribute.Match(object)
System.Attribute.IsDefaultAttribute()
System.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, IsolationLevel, int)
Declaration
public UnitOfWorkAttribute(bool isTransactional, IsolationLevel isolationLevel, int timeout)
Parameters
Type | Name | Description |
---|---|---|
bool | isTransactional | |
System.Data.IsolationLevel | isolationLevel | |
int | timeout |
UnitOfWorkAttribute(bool, IsolationLevel)
Declaration
public UnitOfWorkAttribute(bool isTransactional, IsolationLevel isolationLevel)
Parameters
Type | Name | Description |
---|---|---|
bool | isTransactional | |
System.Data.IsolationLevel | isolationLevel |
UnitOfWorkAttribute(bool)
Declaration
public UnitOfWorkAttribute(bool isTransactional)
Parameters
Type | Name | Description |
---|---|---|
bool | isTransactional |
Properties
IsDisabled
Declaration
public bool IsDisabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsolationLevel
Declaration
public IsolationLevel? IsolationLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Data.IsolationLevel? |
IsTransactional
Declaration
public bool? IsTransactional { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 |