Ejemplo n.º 1
0
        private void Merge()
        {
            var path = _directoryImpl.CreateSqlRootDirectory();
            var destinationMaster  = path + "/Reporting.Master + Updates.sql";
            var destinationUpdates = path + "/Reporting.Updates.sql";

            _sqlScriptMerger.Merge(_destinationMaster, _destinationUpdates, destinationMaster);
            _sqlScriptMerger.Merge(_destinationUpdates, destinationUpdates);
            _directoryImpl.Remove(_destinationMaster);
            _directoryImpl.Remove(_destinationUpdates);
        }