[fdo-trac] #309: Add two additional IFeatureReader properties:
Count and IsEmpty
FDO
trac_fdo at osgeo.org
Fri Jun 20 14:52:20 EDT 2008
#309: Add two additional IFeatureReader properties: Count and IsEmpty
-------------------------+--------------------------------------------------
Reporter: MaksimS | Owner: gregboone
Type: enhancement | Status: new
Priority: minor | Milestone: 3.4.0
Component: FDO API | Version: 3.2.0
Severity: 3 | Resolution:
Keywords: | External_id:
-------------------------+--------------------------------------------------
Comment (by cgountanis):
On a side note you can find the isempty status by checking the ture/false
of the ReadNext(). Example shows false if the schema is empty.
IFeatureReader ifeaturereader = selectCommand.Execute();
MessageBox.Show(ifeaturereader.ReadNext().ToString());
Having a count or a way to get the max number of the ID field would be
nice for manual based primary numbering reasons still.
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/309#comment:3>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list