Example #1
0
        private void UpdatesSql()
        {
            var sourceDir = _folderSettings.GetSqlUpdates();

            _destinationUpdates = _directoryImpl.CreateSqlUpdatesDirectory();
            var transferInformation    = _transferInformationFactory.Create(sourceDir, _destinationUpdates);
            var acceptedFileExtensions = _acceptedFileExtensionFactory.Create(".sql");
            var acceptedPrefix         = _acceptedFilePrefixFactory.Create("Update");

            _fileTransferExecuter.Execute(transferInformation, acceptedFileExtensions, acceptedPrefix);
        }