Class AbpUnitOfWorkMiddleware
Inheritance
System.Object
AbpUnitOfWorkMiddleware
Implements
ITransientDependency
Namespace: Volo.Abp.AspNetCore.Uow
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class AbpUnitOfWorkMiddleware : IMiddleware, ITransientDependency
Constructors
AbpUnitOfWorkMiddleware(IUnitOfWorkManager)
Declaration
public AbpUnitOfWorkMiddleware(IUnitOfWorkManager unitOfWorkManager)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnitOfWorkManager | unitOfWorkManager |
Fields
UnitOfWorkReservationName
Declaration
public const string UnitOfWorkReservationName = "_AbpActionUnitOfWork"
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpContext | context | |
| RequestDelegate | next |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
ITransientDependency