Пример #1
0
 private void BackupBtn_Click(object sender, RoutedEventArgs e)
 {
     DbBackup.Backup("qpasEntities", "qpas");
 }
Пример #2
0
 private void RestoreBtn_Click(object sender, RoutedEventArgs e)
 {
     DbBackup.Restore("qpasEntities", "qpas");
     ViewModel.RefreshCurrentPage();
 }
Пример #3
0
 private async void RestoreBtn_Click(object sender, RoutedEventArgs e)
 {
     DbBackup.Restore("qpasEntities", "qpas");
     await ViewModel.RefreshCurrentPage().ConfigureAwait(true);
 }