Property | Type | Description | |
---|---|---|---|
CreateRuntimeConfiguration |
Method | Description | |
---|---|---|
UseCustomConnection ( IDbConnection connection ) : void |
Injects an existing connection which is used for all database accesses without opening or closing it. In this case, the provided ConnectionString will be ignored. The caller is responsible for opening the connection before executing the migrations and disposing the connection afterwards. Use this method only if you really have to. SQLite in-memory databases require the connection to be open all the time (see https://github.com/dradovic/MigSharp/pull/38). |
Method | Description | |
---|---|---|
DbAlterer ( string connectionString, |
Method | Description | |
---|---|---|
CreateRuntimeConfiguration ( string connectionString, |
protected DbAlterer ( string connectionString, |
||
connectionString | string | |
dbPlatform | ||
options | ||
return | System |
public UseCustomConnection ( IDbConnection connection ) : void | ||
connection | IDbConnection | The connection to be used. |
return | void |