Table of Contents

Class MillraceBuilderPostgreSqlExtensions

Namespace
Millrace
Assembly
Millrace.Storage.PostgreSql.dll

Registers the PostgreSQL provider: services.AddMillrace(w => w.UsePostgreSqlStorage(cs)).

public static class MillraceBuilderPostgreSqlExtensions
Inheritance
MillraceBuilderPostgreSqlExtensions
Inherited Members

Methods

UsePostgreSqlStorage(MillraceBuilder, Func<IServiceProvider, NpgsqlDataSource>, Action<PostgreSqlStorageOptions>?)

Overload for consumers who manage their own Npgsql.NpgsqlDataSource.

UsePostgreSqlStorage(MillraceBuilder, string, Action<PostgreSqlStorageOptions>?)

Registers PostgreSQL as the storage provider, from a connection string.