public ISelectionSet Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer) { throw new NotImplementedException(); }
/// <summary> /// Get a ISelectionSet from the feature class (Paolo, march 2007) /// </summary> /// <param name="QueryFilter"></param> /// <param name="selType"></param> /// <param name="selOption"></param> /// <param name="selectionContainer"></param> /// <returns></returns> public ISelectionSet Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer) { log.enterFunc("Select"); if (log.IsDebugEnabled) { log.Debug(Helper.objectToString(QueryFilter) + "," + selType.ToString() + "," + selOption.ToString() + "," + Helper.objectToString(selectionContainer)); } ISelectionSet retVal = null; try { //retVal = new PostGisSelectionSet(this); //2 cases, with null QueryFilter and without if (QueryFilter == null) { retVal = new PostGisSelectionSet(this); } else { string sql = ""; string fields = ""; string where = ""; GeomHelper.aoQryToPostGisQry(QueryFilter, postGisLayer, out fields, out where); AutoDataReader dr = postGisLayer.doQuery(fields, where); retVal = new PostGisSelectionSet(this, dr); } } finally { log.leaveFunc(); } return(retVal as ISelectionSet); }
ISelectionSet IDisplayTable.SelectDisplayTable(IQueryFilter pQueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace pSelWorkspace) { return ((IDisplayTable)featureLayer).SelectDisplayTable(pQueryFilter, selType, selOption, pSelWorkspace); }
ISelectionSet ITable.Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer) { return ((ITable)featureLayer).Select(QueryFilter, selType, selOption, selectionContainer); }
/// <summary> /// Get a ISelectionSet from the feature class (Paolo, march 2007) /// </summary> /// <param name="QueryFilter"></param> /// <param name="selType"></param> /// <param name="selOption"></param> /// <param name="selectionContainer"></param> /// <returns></returns> public ISelectionSet Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer) { log.enterFunc("Select"); if (log.IsDebugEnabled) log.Debug(Helper.objectToString(QueryFilter) + "," + selType.ToString() + "," + selOption.ToString() + "," + Helper.objectToString(selectionContainer)); ISelectionSet retVal = null; try { //retVal = new PostGisSelectionSet(this); //2 cases, with null QueryFilter and without if (QueryFilter == null) { retVal = new PostGisSelectionSet(this); } else { string sql = ""; string fields = ""; string where = ""; GeomHelper.aoQryToPostGisQry(QueryFilter, postGisLayer, out fields, out where); AutoDataReader dr = postGisLayer.doQuery(fields, where); retVal = new PostGisSelectionSet(this, dr); } } finally { log.leaveFunc(); } return retVal as ISelectionSet; }
// Todo - implement this. public ISelectionSet Select(IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer) { return null; //throw new NotImplementedException(); }