public async Task LoadSqlInstanceAndDbs() { await SqlInstancesVm.RetrieveInstanceAsync(); await SqlInstancesVm.RetrieveDbNamesAsync(SqlInstancesVm.SelectedInst); var pref = _userPreferencePersist.LoadPreference(); DbRestorOptVm.TargetDbName = pref.LastUsedDbName; }
private void OnRestored() { DispatcherHelper.CheckBeginInvokeOnUI( async() => await SqlInstancesVm.RetrieveDbNamesAsync(SqlInstancesVm.SelectedInst)); }