Share via


AzureNpgsqlEntityFrameworkCorePostgreSQLSettings Class

Definition

Provides the client configuration settings for connecting to an Azure Database for PostgreSQL using EntityFrameworkCore.

public sealed class AzureNpgsqlEntityFrameworkCorePostgreSQLSettings : Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.NpgsqlEntityFrameworkCorePostgreSQLSettings
type AzureNpgsqlEntityFrameworkCorePostgreSQLSettings = class
    inherit NpgsqlEntityFrameworkCorePostgreSQLSettings
Public NotInheritable Class AzureNpgsqlEntityFrameworkCorePostgreSQLSettings
Inherits NpgsqlEntityFrameworkCorePostgreSQLSettings
Inheritance
AzureNpgsqlEntityFrameworkCorePostgreSQLSettings

Constructors

AzureNpgsqlEntityFrameworkCorePostgreSQLSettings()

Properties

CommandTimeout

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

(Inherited from NpgsqlEntityFrameworkCorePostgreSQLSettings)
ConnectionString

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

(Inherited from NpgsqlEntityFrameworkCorePostgreSQLSettings)
Credential

Gets or sets the credential used to authenticate to the Azure Database for PostgreSQL.

DisableHealthChecks

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

(Inherited from NpgsqlEntityFrameworkCorePostgreSQLSettings)
DisableMetrics

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

(Inherited from NpgsqlEntityFrameworkCorePostgreSQLSettings)
DisableRetry

Gets or sets whether retries should be disabled.

(Inherited from NpgsqlEntityFrameworkCorePostgreSQLSettings)
DisableTracing

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

(Inherited from NpgsqlEntityFrameworkCorePostgreSQLSettings)

Applies to