NpgsqlEntityFrameworkCorePostgreSQLSettings
Class net10.0
Provides the client configuration settings for connecting to a PostgreSQL database using EntityFrameworkCore.
namespace Aspire.Npgsql.EntityFrameworkCore.PostgreSQL;
public class NpgsqlEntityFrameworkCorePostgreSQLSettings{ // ...} 7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesCommandTimeoutget; setint? Gets or sets the time in seconds to wait for the command to execute.
ConnectionStringget; setstring? Gets or sets the connection string of the PostgreSQL database to connect to.
DisableHealthChecksget; setbool Gets or sets a boolean value that indicates whether the database health check is disabled or not.
DisableMetricsget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.
DisableRetryget; setbool Gets or sets whether retries should be disabled.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.