Summary
Uses marten.
- Assembly
- Rocket
.Surgery .Extensions .Marten .dll - Namespace
- Rocket
.Surgery .Conventions - Containing Type
- Marten
Host Builder Extensions
Syntax
public static IConventionHostBuilder UseMartenConnectionString(this IConventionHostBuilder container, Func<NpgsqlConnection> connection)
Parameters
Name | Type | Description |
---|---|---|
container | I |
The container. |
connection | Func |
The factory for the connection |
Return Value
Type | Description |
---|---|
I |
IConventionHostBuilder. |