示例#1
0
 private async void AsyncLoadDBs()
 {
     SelectedDB = null;
     _dbModel.InvalidateCache();
     try
     {
         DBsList = await _dbModel.GetAllDBs();
     }
     catch (Exception)
     {
         DBsList         = new List <string>();
         ServerMessage   = $"Error, Couldn't Load The DBs from {ServerName}!";
         ValidConnection = false;
     }
 }