Méthode | Description | |
---|---|---|
GenerateMigrations ( |
||
GenerateMigrationsContentsToDisk ( IEnumerable |
||
GetMigrationId ( string scriptFileNameWithoutExtension ) : int | ||
GetMigrationsRunInDb ( |
||
GetNonRetiredMigrationsRunInDb ( |
||
GetSqlSriptsIn ( string dbScriptsPath ) : IEnumerable |
||
RunScripts ( Server disposableDbServer, string dbScriptsPath, string dbname, string originalDbName, IEnumerable |
Méthode | Description | |
---|---|---|
CheckContentViolationRules ( string>.Dictionary |
||
RetrieveContentsWhileCheckConventions ( string originalDbName, IEnumerable |
||
RunScript ( string>.KeyValuePair |
Méthode | Description | |
---|---|---|
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 | |
Résultat | void |
public GenerateMigrations ( |
||
dbScriptsPath | ||
dbname | string | |
server | Server | |
outPath | ||
Résultat | int |
public GenerateMigrationsContentsToDisk ( IEnumerable |
||
scripts | IEnumerable |
|
outPath | ||
dbname | string | |
Résultat | int |
public static GetMigrationId ( string scriptFileNameWithoutExtension ) : int | ||
scriptFileNameWithoutExtension | string | |
Résultat | int |
public GetMigrationsRunInDb ( |
||
dbScriptsPath | ||
dbServer | Server | |
dbname | string | |
Résultat | IEnumerable |
public GetNonRetiredMigrationsRunInDb ( |
||
dbScriptsPath | ||
dbServer | Server | |
dbname | string | |
Résultat | IEnumerable |
public GetSqlSriptsIn ( string dbScriptsPath ) : IEnumerable |
||
dbScriptsPath | string | |
Résultat | IEnumerable |
protected RetrieveContentsWhileCheckConventions ( string originalDbName, IEnumerable |
||
originalDbName | string | |
scripts | IEnumerable |
|
Résultat | string>.IDictionary |
protected RunScript ( string>.KeyValuePair |
||
script | string>.KeyValuePair | |
dbname | string | |
Résultat | void |
public RunScripts ( Server disposableDbServer, string dbScriptsPath, string dbname, string originalDbName, IEnumerable |
||
disposableDbServer | Server | |
dbScriptsPath | string | |
dbname | string | |
originalDbName | string | |
scriptFileNameWhiteList | IEnumerable |
|
Résultat | int |