Class NpgsqlSingletonOptions
- Namespace
- Npgsql.EntityFrameworkCore.PostgreSQL.Internal
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class NpgsqlSingletonOptions : INpgsqlSingletonOptions, ISingletonOptions
- Inheritance
-
NpgsqlSingletonOptions
- Implements
- Inherited Members
Constructors
NpgsqlSingletonOptions()
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public NpgsqlSingletonOptions()
Properties
EnumDefinitions
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public IReadOnlyList<EnumDefinition> EnumDefinitions { get; }
Property Value
IsPostgresVersionSet
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool IsPostgresVersionSet { get; }
Property Value
PostgresVersion
The backend version to target.
public virtual Version PostgresVersion { get; }
Property Value
ReverseNullOrderingEnabled
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool ReverseNullOrderingEnabled { get; }
Property Value
UseRedshift
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool UseRedshift { get; }
Property Value
UserRangeDefinitions
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IReadOnlyList<UserRangeDefinition> UserRangeDefinitions { get; }
Property Value
Methods
Initialize(IDbContextOptions)
Initializes the singleton options from the given IDbContextOptions.
public virtual void Initialize(IDbContextOptions options)
Parameters
options
IDbContextOptions
Validate(IDbContextOptions)
Validates that the options in given IDbContextOptions have not changed when compared to the options already set here, and throws if they have.
public virtual void Validate(IDbContextOptions options)
Parameters
options
IDbContextOptions