Class PostgresOptionsExtensions

Assembly: redb.Postgres.dll

PostgreSQL provider extensions for RedbOptionsBuilder.

public static class PostgresOptionsExtensions

Inheritance

ObjectPostgresOptionsExtensions

Methods

RegisterOpenSourceServices(IServiceCollection, RedbServiceConfiguration)

Registers OpenSource PostgreSQL services.

public static void RegisterOpenSourceServices(IServiceCollection services, RedbServiceConfiguration config)

UsePostgres(RedbOptionsBuilder, string?)

Configures REDB to use PostgreSQL as the database provider.

public static RedbOptionsBuilder UsePostgres(this RedbOptionsBuilder builder, string? connectionString = null)