Share via


MicrosoftEntityFrameworkCoreSqlServerSettings Class

Definition

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

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

Constructors

MicrosoftEntityFrameworkCoreSqlServerSettings()

Properties

CommandTimeout

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

ConnectionString

The connection string of the SQL server database to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the database health check is 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.

Applies to