Class MySqlProviderFactoryResolver
Service that obtains the provider factory from a given connection.
Inheritance
System.Object
MySqlProviderFactoryResolver
Namespace: MySql.Data.EntityFramework
Assembly: MySql.Data.EntityFramework.dll
Version: 9.1.0
Syntax
public class MySqlProviderFactoryResolver : IDbProviderFactoryResolver
Methods
ResolveProviderFactory(DbConnection)
Returns the System.Data.Common.DbProviderFactory for the given connection.
Declaration
public DbProviderFactory ResolveProviderFactory(DbConnection connection)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbConnection | connection | The database connection. |
Returns
Type | Description |
---|---|
System.Data.Common.DbProviderFactory | The provider factory for the connection. |