Class AmbientUnitOfWork
Inheritance
object
AmbientUnitOfWork
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
[ExposeServices(new Type[] { typeof(IAmbientUnitOfWork), typeof(IUnitOfWorkAccessor) })]
public class AmbientUnitOfWork : IAmbientUnitOfWork, IUnitOfWorkAccessor, ISingletonDependency
Constructors
AmbientUnitOfWork()
Declaration
public AmbientUnitOfWork()
Properties
UnitOfWork
Declaration
public IUnitOfWork? UnitOfWork { get; }
Property Value
Type | Description |
---|---|
IUnitOfWork |
Methods
GetCurrentByChecking()
Declaration
public IUnitOfWork? GetCurrentByChecking()
Returns
Type | Description |
---|---|
IUnitOfWork |
SetUnitOfWork(IUnitOfWork?)
Declaration
public void SetUnitOfWork(IUnitOfWork? unitOfWork)
Parameters
Type | Name | Description |
---|---|---|
IUnitOfWork | unitOfWork |