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
AverageableType double
ClosingQuote `
DefaultSchema null
IsDirectionSupported false
IsExecuteReaderDisposable true
IsMultiStatementExecutable true
IsPreparable true
IsUseUpsert false
OpeningQuote `
ParameterPrefix @

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);