CockroachDbDbSetting

A setting class used for the CockroachDbConnection data provider.

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

Configured Values

Property Value
AreTableHintsSupported false
ClosingQuote "
DefaultSchema public
IsAffectedRowsSupported true
IsDirectionSupported true
IsExecuteReaderDisposable true
IsMultiStatementExecutable true
IsInsertAllBatchable true
IsPreparable true
IsTransactionSupported true
IsUseUpsert false
RequiresDbTypeBeforeValue false
SkipsUnreferencedParameters false
MaxParameterCount 2098
MultiStatementSeparator ;
OpeningQuote "
ParameterPrefix @
SqlTextParameterPrefix @

Usability

Use DbSettingMapper to override it with a custom implementation.

DbSettingMapper.Add(typeof(CockroachDbConnection), new MyCustomCockroachDbDbSetting(), true);