Provides a database driver for MySQL.

The following tables list the members exposed by the MySqlDataDriver type.

Public Methods

  NameDescription
Configure (Inherited from DriverBase.)
CreateBatcher
Create an instance of IBatcher according to the configuration and the capabilities of the driver
(Inherited from DriverBase.)
CreateCommand (Inherited from ReflectionBasedDriver.)
CreateConnection (Inherited from ReflectionBasedDriver.)
FormatNameForParameter
Changes the parameterName into the correct format for an IDbParameter for the Driver.
(Inherited from DriverBase.)
FormatNameForSql
Change the parameterName into the correct format IDbCommand.CommandText for the ConnectionProvider
(Inherited from DriverBase.)
GenerateCommand (Inherited from DriverBase.)
GenerateOutputParameter (Inherited from DriverBase.)
PrepareCommand (Inherited from DriverBase.)

Protected Methods

  NameDescription
GenerateParameter
Generates an IDbDataParameter for the IDbCommand. It does not add the IDbDataParameter to the IDbCommand's Parameter collection.
(Inherited from DriverBase.)
InitializeParameter (Inherited from DriverBase.)

Public Constructors

  NameDescription
MySqlDataDriverNew
Initializes a new instance of the MySqlDataDriver class.

Public Properties

  NameDescription
NamedPrefix
MySql.Data use the ? to locate parameters in sql.
(Overrides .NamedPrefix.)
SupportsMultipleOpenReaders
The MySql.Data driver does NOT support more than 1 open IDataReader with only 1 IDbConnection.
(Overrides .SupportsMultipleOpenReaders.)
SupportsMultipleQueries (Inherited from DriverBase.)
UseNamedPrefixInParameter
UseNamedPrefixInSql
MySql.Data uses named parameters in the sql.
(Overrides .UseNamedPrefixInSql.)

Protected Properties

  NameDescription
IsPrepareSqlEnabled (Inherited from DriverBase.)
SupportsPreparingCommands
MySql.Data does not support preparing of commands.
(Overrides .SupportsPreparingCommands.)