MySqlConnectorDbSetting

A setting class used for the MySqlConnector data provider.

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

Configured Values

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

IsExecuteReaderDisposable and IsPreparable are true here, whereas MySqlDbSetting (MySql.Data) sets both to false.

Usability

Use DbSettingMapper to override it with a custom implementation.

DbSettingMapper.Add(typeof(MySqlConnection), new MyCustomMySqlConnectorDbSetting(), true);