MySqlClientFactory Class

MySQL Connector/Net

MySqlClientFactory Class
DBProviderFactory implementation for MysqlClient.
Inheritance Hierarchy
SystemObject  System.Data.CommonDbProviderFactory
    MySql.Data.MySqlClientMySqlClientFactory

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
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.

Constructors
  NameDescription
Public methodMySqlClientFactory
Top
Properties
  NameDescription
Public propertyCanCreateDataSourceEnumerator
Returns true if a MySqlDataSourceEnumerator can be created; otherwise false.
(Overrides DbProviderFactoryCanCreateDataSourceEnumerator.)
Top
Methods
  NameDescription
Public methodCreateCommand
Returns a strongly typed DbCommand instance.
(Overrides DbProviderFactoryCreateCommand.)
Public methodCreateCommandBuilder
Returns a strongly typed DbCommandBuilder instance.
(Overrides DbProviderFactoryCreateCommandBuilder.)
Public methodCreateConnection
Returns a strongly typed DbConnection instance.
(Overrides DbProviderFactoryCreateConnection.)
Public methodCreateConnectionStringBuilder
Returns a strongly typed DbConnectionStringBuilder instance.
(Overrides DbProviderFactoryCreateConnectionStringBuilder.)
Public methodCreateDataAdapter
Returns a strongly typed DbDataAdapter instance.
(Overrides DbProviderFactoryCreateDataAdapter.)
Public methodCreateDataSourceEnumerator
Returns a new instance of the provider's class that implements the DbDataSourceEnumerator class.
(Inherited from DbProviderFactory.)
Public methodCreateParameter
Returns a strongly typed DbParameter instance.
(Overrides DbProviderFactoryCreateParameter.)
Public methodCreatePermission
Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class.
(Inherited from DbProviderFactory.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInstance
Gets an instance of the MySqlClientFactory. This can be used to retrieve strongly typed data objects.
Top
See Also