Interface INpgsqlSingletonOptions
- 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
DataSource
The data source being used, or null if a connection string or connection was provided directly.
DbDataSource? DataSource { get; }
Property Value
IsPostgresVersionSet
Whether the user has explicitly set the backend version to target.
bool IsPostgresVersionSet { get; }
Property Value
PostgresVersion
The backend version to target.
Version PostgresVersion { get; }
Property Value
ReverseNullOrderingEnabled
Whether reverse null ordering is enabled.
bool ReverseNullOrderingEnabled { get; }
Property Value
UseRedshift
Whether to target Redshift.
bool UseRedshift { get; }
Property Value
UserRangeDefinitions
The collection of range mappings.
IReadOnlyList<UserRangeDefinition> UserRangeDefinitions { get; }