MySQL Connector/Net
MySqlClientFactory Class |
DBProviderFactory implementation for MysqlClient.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public sealed class MySqlClientFactory : DbProviderFactory, IServiceProvider
Public NotInheritable Class MySqlClientFactory Inherits DbProviderFactory Implements IServiceProvider
public ref class MySqlClientFactory sealed : public DbProviderFactory, IServiceProvider
[<SealedAttribute>] type MySqlClientFactory = class inherit DbProviderFactory interface IServiceProvider end
The MySqlClientFactory type exposes the following members.

Name | Description | |
---|---|---|
![]() | MySqlClientFactory |

Name | Description | |
---|---|---|
![]() | CanCreateDataSourceEnumerator |
Returns true if a MySqlDataSourceEnumerator can be created;
otherwise false.
(Overrides DbProviderFactoryCanCreateDataSourceEnumerator.) |

Name | Description | |
---|---|---|
![]() | CreateCommand |
Returns a strongly typed DbCommand instance.
(Overrides DbProviderFactoryCreateCommand.) |
![]() | CreateCommandBuilder |
Returns a strongly typed DbCommandBuilder instance.
(Overrides DbProviderFactoryCreateCommandBuilder.) |
![]() | CreateConnection |
Returns a strongly typed DbConnection instance.
(Overrides DbProviderFactoryCreateConnection.) |
![]() | CreateConnectionStringBuilder |
Returns a strongly typed DbConnectionStringBuilder instance.
(Overrides DbProviderFactoryCreateConnectionStringBuilder.) |
![]() | CreateDataAdapter |
Returns a strongly typed DbDataAdapter instance.
(Overrides DbProviderFactoryCreateDataAdapter.) |
![]() | CreateDataSourceEnumerator | Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class. (Inherited from DbProviderFactory.) |
![]() | CreateParameter |
Returns a strongly typed DbParameter instance.
(Overrides DbProviderFactoryCreateParameter.) |
![]() | CreatePermission | Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class. (Inherited from DbProviderFactory.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Name | Description | |
---|---|---|
![]() ![]() | Instance |
Gets an instance of the MySqlClientFactory.
This can be used to retrieve strongly typed data objects.
|
