Property | Type | Description | |
---|---|---|---|
ScriptLanguageRegex | |||
_configuration | IConfiguration | ||
_deployPackagesLogger | ILogger | ||
_logger | ILogger | ||
_scriptsProvider | IDataMigrationScriptsProvider | ||
_sqlExecuter | ISqlExecuter |
Method | Description | |
---|---|---|
DataMigration ( ISqlExecuter sqlExecuter, ILogProvider logProvider, IDataMigrationScriptsProvider scriptsProvider, IConfiguration configuration ) : System | ||
ExecuteDataMigrationScripts ( ) : |
||
UndoDataMigrationScripts ( List |
Method | Description | |
---|---|---|
ApplyToDatabase ( List |
||
FindScriptsInOtherLanguages ( IEnumerable |
||
FindSkipedScriptsInEachPackage ( List |
||
GetFirstSubfolder ( string path ) : string | ||
LoadScriptsFromDatabase ( ) : List |
||
LogScript ( string msg, DataMigrationScript script, EventType eventType = EventType.Trace ) : void | ||
LogScripts ( string msg, IEnumerable |
||
SaveDataMigrationScriptMetadata ( DataMigrationScript script ) : string |
protected ApplyToDatabase ( List |
||
toRemove | List |
|
toExecute | List |
|
return | void |
public DataMigration ( ISqlExecuter sqlExecuter, ILogProvider logProvider, IDataMigrationScriptsProvider scriptsProvider, IConfiguration configuration ) : System | ||
sqlExecuter | ISqlExecuter | |
logProvider | ILogProvider | |
scriptsProvider | IDataMigrationScriptsProvider | |
configuration | IConfiguration | |
return | System |
public ExecuteDataMigrationScripts ( ) : |
||
return |
protected static FindScriptsInOtherLanguages ( IEnumerable |
||
newScripts | IEnumerable |
|
databaseLanguage | string | |
return | List |
protected FindSkipedScriptsInEachPackage ( List |
||
oldScripts | List |
|
newScripts | List |
|
return | List |
protected static GetFirstSubfolder ( string path ) : string | ||
path | string | |
return | string |
protected LogScript ( string msg, DataMigrationScript script, EventType eventType = EventType.Trace ) : void | ||
msg | string | |
script | DataMigrationScript | |
eventType | EventType | |
return | void |
protected LogScripts ( string msg, IEnumerable |
||
msg | string | |
scripts | IEnumerable |
|
eventType | EventType | |
return | void |
protected static SaveDataMigrationScriptMetadata ( DataMigrationScript script ) : string | ||
script | DataMigrationScript | |
return | string |
public UndoDataMigrationScripts ( List |
||
createdTags | List |
|
return | void |
protected static Regex,System.Text.RegularExpressions ScriptLanguageRegex | ||
return |
protected IDataMigrationScriptsProvider _scriptsProvider | ||
return | IDataMigrationScriptsProvider |