Table of Contents

Interface INpgsqlSingletonOptions

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

Represents options for Npgsql that can only be set at the IServiceProvider singleton level.

public interface INpgsqlSingletonOptions : ISingletonOptions
Inherited Members

Properties

ApplicationServiceProvider

The root service provider for the application, if available. />.

IServiceProvider? ApplicationServiceProvider { get; }

Property Value

IServiceProvider

DataSource

The data source being used, or null if a connection string or connection was provided directly.

DbDataSource? DataSource { get; }

Property Value

DbDataSource

IsPostgresVersionSet

Whether the user has explicitly set the backend version to target.

bool IsPostgresVersionSet { get; }

Property Value

bool

PostgresVersion

The backend version to target.

Version PostgresVersion { get; }

Property Value

Version

ReverseNullOrderingEnabled

Whether reverse null ordering is enabled.

bool ReverseNullOrderingEnabled { get; }

Property Value

bool

UseRedshift

Whether to target Redshift.

bool UseRedshift { get; }

Property Value

bool

UserRangeDefinitions

The collection of range mappings.

IReadOnlyList<UserRangeDefinition> UserRangeDefinitions { get; }

Property Value

IReadOnlyList<UserRangeDefinition>