public IFeatureCursor Search(IQueryFilter Filter, bool Recycling) { log.enterFunc("Search"); if (log.IsDebugEnabled) { log.Debug(Helper.objectToString(Filter) + "," + Recycling.ToString()); } IFeatureCursor retVal = null; try { string where; string fields; GeomHelper.aoQryToPostGisQry(Filter, postGisLayer, out fields, out where); AutoDataReader dr = postGisLayer.doQuery(fields, where); #if !STUB_BUILD retVal = new PostGisFeatureCursor(this, dr); #endif } finally { log.leaveFunc(); } return(retVal); }
public IFeatureCursor Search(IQueryFilter Filter, bool Recycling) { log.enterFunc("Search"); if (log.IsDebugEnabled) log.Debug(Helper.objectToString(Filter) + "," + Recycling.ToString()); IFeatureCursor retVal = null; try { string where; string fields; GeomHelper.aoQryToPostGisQry(Filter, postGisLayer, out fields, out where); AutoDataReader dr = postGisLayer.doQuery(fields, where); #if !STUB_BUILD retVal = new PostGisFeatureCursor(this, dr); #endif } finally { log.leaveFunc(); } return retVal; }