Method | Description | |
---|---|---|
CreateConnection ( ) : IDbConnection |
Creates a new database connection instance.
|
|
DbConnectionFactory ( string connectionString ) : System |
Initializes a new instance of the DbConnectionFactory class.
|
|
DbConnectionFactory ( string connectionString, IDbConnection>.Func |
Initializes a new instance of the DbConnectionFactory class.
|
|
Validate ( ) : void |
Attempts to make a connection to the underlying database. This value is cached to avoid multiple connections to the same destination. |
public DbConnectionFactory ( string connectionString ) : System | ||
connectionString | string | Connection string for all connections. |
return | System |
public DbConnectionFactory ( string connectionString, IDbConnection>.Func |
||
connectionString | string | Connection string for all connections. |
createFunction | IDbConnection>.Func | A |
return | System |