Click or drag to resize

MySqlClientFactory Class

Represents a set of methods for creating instances of the MySQL client implementation of the data source classes.
Inheritance Hierarchy

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public sealed class MySqlClientFactory : DbProviderFactory, 
	IServiceProvider

The MySqlClientFactory type exposes the following members.

Constructors
  NameDescription
Public methodMySqlClientFactory
Initializes a new instance of the MySqlClientFactory class
Top
Properties
  NameDescription
Public propertyCanCreateDataSourceEnumerator
Specifies whether the specific DbProviderFactory supports the DbDataSourceEnumerator class.
(Inherited from DbProviderFactory.)
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