Skip to content
Docs Try Aspire

MicrosoftEntityFrameworkCoreSqlServerSettings Properties

Class Properties 5 members
Provides the client configuration settings for connecting to a SQL Server database using EntityFrameworkCore.
CommandTimeout Section titled CommandTimeout nullable int?
Gets or sets the time in seconds to wait for the command to execute.
public int? CommandTimeout { get; set; }
ConnectionString Section titled ConnectionString nullable string?
The connection string of the SQL server database to connect to.
public string? ConnectionString { get; set; }
DisableHealthChecks Section titled DisableHealthChecks bool
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 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; }