다음을 통해 공유


NpgsqlSettings Class

Definition

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

public class NpgsqlSettings
public sealed class NpgsqlSettings
type NpgsqlSettings = class
Public Class NpgsqlSettings
Public NotInheritable Class NpgsqlSettings
Inheritance
NpgsqlSettings
Derived

Constructors

Name Description
NpgsqlSettings()

Properties

Name Description
ConnectionString

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.

DisableTracing

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

Applies to