Пример #1
0
        public void ApplyChangeUndoScript(ChangeScript script)
        {
            output.WriteLine();
            output.WriteLine("-- Change script: " + script);

            if (_useTransaction)
            {
                output.WriteLine(_dbmsSyntax.GenerateBeginTransaction());
            }

            CopyFileUndoContentsToStdOut(script.GetFile());

            if (_useTransaction)
            {
                output.WriteLine(_dbmsSyntax.GenerateCommitTransaction());
            }
        }