public void SaveToDisk(PartialDatabase database) { var fileName = Path.Combine(_databaseFolder, database.Name + _databaseExtension); var file = _databaseFileMapper.Map(database); _dataFileManager.SaveDataFile(fileName, file); }
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}"); }