MartenHostBuilderExtensions.

UseMartenConnectionString(IConventionHostBuilder, Func<NpgsqlConnection>) Method

Summary

Uses marten.

Syntax

public static IConventionHostBuilder UseMartenConnectionString(this IConventionHostBuilder container, Func<NpgsqlConnection> connection)

Parameters

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

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.