Method | Description | |
---|---|---|
CreateDatabaseIfNotExists ( ) : void | ||
ExecuteScript ( string script ) : void | ||
GenerateSqlScript ( bool includeData ) : string | ||
GetConnWithoutDatabaseSpecified ( ) : IDbConnection | ||
Init ( ) : |
||
MigrationTableExists ( ) : bool | ||
MsSqlDatabaseRepository ( string connectionString, string filePath ) : System | ||
MsSqlDatabaseRepository ( string connectionString, string filePath, string tableName ) : System |
Method | Description | |
---|---|---|
GetMigrationCmd ( |
public ExecuteScript ( string script ) : void | ||
script | string | |
return | void |
public GenerateSqlScript ( bool includeData ) : string | ||
includeData | bool | |
return | string |
public GetConnWithoutDatabaseSpecified ( ) : IDbConnection | ||
return | IDbConnection |
protected GetMigrationCmd ( |
||
migration | ||
return | IDbCommand |
public MsSqlDatabaseRepository ( string connectionString, string filePath ) : System | ||
connectionString | string | |
filePath | string | |
return | System |
public MsSqlDatabaseRepository ( string connectionString, string filePath, string tableName ) : System | ||
connectionString | string | |
filePath | string | |
tableName | string | |
return | System |