예제 #1
0
        private static void Process()
        {
            IMigrationOutput output = new ConsoleMigrationOutput(_OutputResultsFile, !_NoConsoleLogging);
            var migrator            = new TsqlFileMigrator(output);

            migrator.ParseFile(_FileToProcess, true);
        }
예제 #2
0
        private static void Process()
        {
            IMigrationOutput output  = new ConsoleMigrationOutput(_OutputResultsFile, !_NoConsoleLogging);
            SMOScriptOptions options = SMOScriptOptions.CreateFromConfig();
            var migrator             = new TsqlFileMigrator(_FileToProcess, output);

            migrator.ParseFile(options, true);
        }