Class MySqlConnectionFactory
Used for creating connections in Code First 4.3.
Inheritance
System.Object
MySqlConnectionFactory
Namespace: MySql.Data.EntityFramework
Assembly: MySql.Data.EntityFramework.dll
Version: 9.1.0
Syntax
public class MySqlConnectionFactory : IDbConnectionFactory
Constructors
MySqlConnectionFactory()
Declaration
public MySqlConnectionFactory()
MySqlConnectionFactory(String)
Declaration
public MySqlConnectionFactory(string connStr)
Parameters
Type | Name | Description |
---|---|---|
System.String | connStr |
Methods
CreateConnection(String)
Declaration
public DbConnection CreateConnection(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString |
Returns
Type | Description |
---|---|
System.Data.Common.DbConnection |