Пример #1
0
        public BackupManager(string backup, DbBackupProvider dbBackupProvider, params string[] configs)
        {
            this.backup  = backup;
            this.configs = configs ?? new string[0];

            providers = new Dictionary <string, IBackupProvider>();
            AddBackupProvider(dbBackupProvider);
            AddBackupProvider(new FileBackupProvider());
        }
Пример #2
0
 public BackupManager(string backup, DbBackupProvider dbBackupProvider)
     : this(backup, dbBackupProvider, null)
 {
 }