async void SqlFDB_TableAltered(string table) { if (_layers == null) { return; } foreach (IDatasetElement element in _layers) { if (element.Class is SQLiteFDBFeatureClass && ((SQLiteFDBFeatureClass)element.Class).Name == table) { var fields = await _fdb.FeatureClassFields(this._dsID, table); SQLiteFDBFeatureClass fc = element.Class as SQLiteFDBFeatureClass; ((Fields)fc.Fields).Clear(); foreach (IField field in fields) { ((Fields)fc.Fields).Add(field); } } } }