MartenHostBuilderExtensions.

UseMartenConnectionString(IConventionHostBuilder, Func<string>) Method

Summary

Uses marten.

Syntax

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

Parameters

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

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.