Link Search Menu Expand Document

MySqlConnectorDbSetting


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

PropertyValue
AreTableHintsSupportedfalse
AverageableTypedouble
ClosingQuote`
DefaultSchemanull
IsDirectionSupportedfalse
IsExecuteReaderDisposabletrue
IsMultiStatementExecutabletrue
IsPreparabletrue
IsUseUpsertfalse
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);