MartenAspNetCoreConventionHostExtensions.

AddMartenUnitOfWorkMiddleware(IConventionHostBuilder) Method

Summary

Adds the marten functions unit of work.

Syntax

public static IConventionHostBuilder AddMartenUnitOfWorkMiddleware(this IConventionHostBuilder builder)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
builder IConventionHostBuilder The builder.

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.