Свойство | Тип | Описание | |
---|---|---|---|
CreateRuntimeConfiguration |
Метод | Описание | |
---|---|---|
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). |
Метод | Описание | |
---|---|---|
DbAlterer ( string connectionString, |
Метод | Описание | |
---|---|---|
CreateRuntimeConfiguration ( string connectionString, |
protected DbAlterer ( string connectionString, |
||
connectionString | string | |
dbPlatform | ||
options | ||
Результат | System |
public UseCustomConnection ( IDbConnection connection ) : void | ||
connection | IDbConnection | The connection to be used. |
Результат | void |