Udostępnij za pośrednictwem


PomeloEntityFrameworkCoreMySqlSettings Class

Definition

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

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

Constructors

PomeloEntityFrameworkCoreMySqlSettings()

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 MySQL 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.

ServerVersion

Gets or sets the server version of the MySQL database to connect to.

Applies to