Exemple #1
0
        public void SaveToDisk(PartialDatabase database)
        {
            var fileName = Path.Combine(_databaseFolder, database.Name + _databaseExtension);
            var file     = _databaseFileMapper.Map(database);

            _dataFileManager.SaveDataFile(fileName, file);
        }
Exemple #2
0
        public void SaveToDisk(Database database)
        {
            var fileName = Path.Combine(_databaseFolder, database.Name + _databaseExtension);
            var file     = _databaseFileMapper.Map(database);

            _dataFileManager.SaveDataFile(fileName, file);
            _process.Log.Debug($"{database.Name} saved to disk at {fileName}");
        }