Skip to content
DocsTry Aspire
DocsTry

PomeloEntityFrameworkCoreMySqlSettings Properties

ClassProperties7 members
Provides the client configuration settings for connecting to a MySQL database using EntityFrameworkCore.
CommandTimeoutSection titled CommandTimeoutnullableint?
Gets or sets the time in seconds to wait for the command to execute.
public int? CommandTimeout { get; set; }
ConnectionStringSection titled ConnectionStringnullablestring?
Gets or sets the connection string of the MySQL database to connect to.
public string? ConnectionString { get; set; }
DisableHealthChecksSection titled DisableHealthChecksbool
Gets or sets a boolean value that indicates whether the database health check is disabled or not.
public bool DisableHealthChecks { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.
public bool DisableMetrics { get; set; }
Gets or sets whether retries should be disabled.
public bool DisableRetry { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }
ServerVersionSection titled ServerVersionnullablestring?
Gets or sets the server version of the MySQL database to connect to.
public string? ServerVersion { get; set; }