Link Search Menu Expand Document

SqlServerDbSetting


This class is the BaseDbSetting-derived implementation for SQL Server. It is automatically registered by SqlServerBootstrap — you do not need to instantiate it directly under normal use.

Configured Values

PropertyValue
AreTableHintsSupportedtrue
AverageableTypedouble
ClosingQuote]
DefaultSchemadbo
IsDirectionSupportedtrue
IsExecuteReaderDisposabletrue
IsMultiStatementExecutabletrue
IsPreparabletrue
IsUseUpsertfalse
OpeningQuote[
ParameterPrefix@

Usability

Use DbSettingMapper to override it with a custom implementation.

DbSettingMapper.Add(typeof(SqlConnection), new MyCustomSqlServerDbSetting(), true);