MartenHostBuilderExtensions.

UseMartenConnectionString(IServiceConventionContext, Func<string>) Method

Summary

Uses marten.

Syntax

public static IServiceConventionContext UseMartenConnectionString(this IServiceConventionContext container, Func<string> connectionString)

Parameters

Name Type Description
container IServiceConventionContext The container.
connectionString Func<string> The factory for the connection string

Return Value

Type Description
IServiceConventionContext IServiceConventionContext.