Partager via


NpgsqlEntityFrameworkCorePostgreSQLSettings Class

Definition

Provides the client configuration settings for connecting to a PostgreSQL database using EntityFrameworkCore.

public sealed class NpgsqlEntityFrameworkCorePostgreSQLSettings
type NpgsqlEntityFrameworkCorePostgreSQLSettings = class
Public NotInheritable Class NpgsqlEntityFrameworkCorePostgreSQLSettings
Inheritance
NpgsqlEntityFrameworkCorePostgreSQLSettings

Constructors

NpgsqlEntityFrameworkCorePostgreSQLSettings()

Properties

CommandTimeout

Gets or sets the time in seconds to wait for the command to execute.

ConnectionString

Gets or sets the connection string of the PostgreSQL database to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the database health check is disabled or not.

DisableMetrics

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.

DisableRetry

Gets or sets whether retries should be disabled.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Applies to