Link Search Menu Expand Document

MySqlConnectorConfiguration


This class exposes the UseMySqlConnector() extension method of GlobalConfiguration, which wires up all the necessary dependencies for MySqlConnector (via MySqlConnectorBootstrap).

Unlike the other providers’ equivalent class, this one is named MySqlConnectorConfiguration rather than MySqlConnectorGlobalConfiguration.

Usability

GlobalConfiguration
    .Setup()
    .UseMySqlConnector();

Call this once during application start-up, before opening any MySqlConnection.