private void RefreshSchemas(object o) { try { ObjectSchemaOptions = _utilityRepository.GetDatabaseSchemaNames(SelectedDatabase?.DatabaseName); SelectedObjectSchema = ObjectSchemaOptions.SingleOrDefault(x => x == "dbo"); RefreshObjects(o); } catch (Exception e) { MessageBox.Show("Error in RefreshSchemas: " + e.Message); } }