프로퍼티 | 타입 | 설명 | |
---|---|---|---|
connection | IDbConnection | ||
delimiter | string | ||
filePath | string | ||
tableName | string |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
GetMigrationCmd ( |
public abstract CreateDatabaseIfNotExists ( ) : void | ||
리턴 | void |
public ExecuteDown ( |
||
migration | ||
리턴 |
public ExecuteUp ( |
||
migration | ||
리턴 |
public abstract GenerateSqlScript ( bool includeData ) : string | ||
includeData | bool | |
리턴 | string |
public abstract GetConnWithoutDatabaseSpecified ( ) : IDbConnection | ||
리턴 | IDbConnection |
protected abstract GetMigrationCmd ( |
||
migration | ||
리턴 | IDbCommand |
public RecordMigration ( |
||
migration | ||
리턴 |