A static class which retrieves AdbProvider singleton instances that wrap the MySqlConnector ADO.NET database provider for MySQL™ and MariaDB™ databases, which assists with writing provider-independent code, mapping between .NET CLR types and database types, etc.
Use the Get() overloads to get a singleton instance with which to instantiate AdbConnectionString, AdbConnectionBuilder, AdbKeepOpenConnectionBuilder and and AdbCommandBuilder types, or pass the provider instance to other methods for them to use it.
Note that it is best practice to select which provider to use in only one place in the application, to make it easy to switch to a different provider instance, especially since settings such as how to quote identifiers is specified by picking or creating the appropriate provider instance.
Each AdbProvider instance contains a set of services that implements the provider
functionality. It is possible to tweak an existing provider by using its
to create a new provider instance with one or more services replaced. Custom services
can be derived from existing ones, or created from scratch.
Alternatively, create a custom provider by using the AdbProvider
constructor, specifying all the services.
This provider uses the following service classes:
public static class AdbMySqlConnectorProvider
public static AdbProvider Get()
public static AdbProvider Get(bool ansiQuotes)
The specified AdbProvider singleton instance.