Property | Type | Description | |
---|---|---|---|
connection | IDbConnection | ||
delimiter | string | ||
filePath | string | ||
tableName | string |
Method | Description | |
---|---|---|
CheckConnection ( ) : bool | ||
Create ( ) : |
||
CreateDatabaseIfNotExists ( ) : void |
Create a database if it doesn't exists. Throw exception if the database already exists. Used to create a temporary database for verification
|
|
DatabaseExists ( ) : bool | ||
Dispose ( ) : void | ||
DropDatabase ( ) : void | ||
DropMigrationTable ( ) : void | ||
ExecuteDown ( |
||
ExecuteUp ( |
||
GenerateSqlScript ( bool includeData ) : string | ||
GetConnWithoutDatabaseSpecified ( ) : IDbConnection | ||
Init ( ) : |
||
MigrationTableExists ( ) : bool | ||
RecordMigration ( |
Method | Description | |
---|---|---|
GetMigrationCmd ( |
public abstract CreateDatabaseIfNotExists ( ) : void | ||
return | void |
public ExecuteDown ( |
||
migration | ||
return |
public ExecuteUp ( |
||
migration | ||
return |
public abstract GenerateSqlScript ( bool includeData ) : string | ||
includeData | bool | |
return | string |
public abstract GetConnWithoutDatabaseSpecified ( ) : IDbConnection | ||
return | IDbConnection |
protected abstract GetMigrationCmd ( |
||
migration | ||
return | IDbCommand |
public abstract MigrationTableExists ( ) : bool | ||
return | bool |
public RecordMigration ( |
||
migration | ||
return |