메소드 | 설명 | |
---|---|---|
GenerateMigrations ( |
||
GenerateMigrationsContentsToDisk ( IEnumerable |
||
GetMigrationId ( string scriptFileNameWithoutExtension ) : int | ||
GetMigrationsRunInDb ( |
||
GetNonRetiredMigrationsRunInDb ( |
||
GetSqlSriptsIn ( string dbScriptsPath ) : IEnumerable |
||
RunScripts ( Server disposableDbServer, string dbScriptsPath, string dbname, string originalDbName, IEnumerable |
메소드 | 설명 | |
---|---|---|
CheckContentViolationRules ( string>.Dictionary |
||
RetrieveContentsWhileCheckConventions ( string originalDbName, IEnumerable |
||
RunScript ( string>.KeyValuePair |
메소드 | 설명 | |
---|---|---|
CheckForRiskyBatchStatementGO ( string>.IDictionary |
||
CheckIfDatabaseChangeLogTableExists ( Database database ) : void | ||
EscapeSql ( string content ) : string | ||
FileNameToTransactionName ( string scriptFileNameWithoutExtension ) : string | ||
GenerateHash ( string scriptContents ) : string | ||
GenerateMigration ( string scriptFileNameWithoutExtension, string scriptContents ) : GeneratedMigration | ||
GenerateMigrationFor ( SqlExecutor executor, string scriptFileNameWithoutExtension, string scriptContents, string dbname ) : GeneratedMigration | ||
GetInsertStatementForMigration ( |
||
GetInsertStatementForMigration ( int migrationId, string scriptFileNameWithoutExtension, string hash ) : string | ||
MigrationAlreadyRun ( SqlExecutor executor, string hash, string dbname ) : bool |
protected CheckContentViolationRules ( string>.Dictionary |
||
elementNameToScriptContents | string>.Dictionary | |
originalDbName | string | |
리턴 | void |
public GenerateMigrations ( |
||
dbScriptsPath | ||
dbname | string | |
server | Server | |
outPath | ||
리턴 | int |
public GenerateMigrationsContentsToDisk ( IEnumerable |
||
scripts | IEnumerable |
|
outPath | ||
dbname | string | |
리턴 | int |
public static GetMigrationId ( string scriptFileNameWithoutExtension ) : int | ||
scriptFileNameWithoutExtension | string | |
리턴 | int |
public GetMigrationsRunInDb ( |
||
dbScriptsPath | ||
dbServer | Server | |
dbname | string | |
리턴 | IEnumerable |
public GetNonRetiredMigrationsRunInDb ( |
||
dbScriptsPath | ||
dbServer | Server | |
dbname | string | |
리턴 | IEnumerable |
public GetSqlSriptsIn ( string dbScriptsPath ) : IEnumerable |
||
dbScriptsPath | string | |
리턴 | IEnumerable |
protected RetrieveContentsWhileCheckConventions ( string originalDbName, IEnumerable |
||
originalDbName | string | |
scripts | IEnumerable |
|
리턴 | string>.IDictionary |
protected RunScript ( string>.KeyValuePair |
||
script | string>.KeyValuePair | |
dbname | string | |
리턴 | void |
public RunScripts ( Server disposableDbServer, string dbScriptsPath, string dbname, string originalDbName, IEnumerable |
||
disposableDbServer | Server | |
dbScriptsPath | string | |
dbname | string | |
originalDbName | string | |
scriptFileNameWhiteList | IEnumerable |
|
리턴 | int |