public IFeatureCursor GetFeatures(IQueryFilter filter /*, gView.Framework.Data.getFeatureQueryType type*/) { if (_fdb == null) { return(null); } if (filter != null) { filter.AddField("FDB_OID"); filter.fieldPrefix = "["; filter.fieldPostfix = "]"; } if (filter is IRowIDFilter) { return(_fdb.QueryIDs(this, filter.SubFieldsAndAlias, ((IRowIDFilter)filter).IDs, filter.FeatureSpatialReference)); } else { return(_fdb.Query(this, filter)); } }