Navigating through the result set
To
move to the first record in the result set, call the MoveNext
method,
which initializes the cursor and moves it to the first record. You
can now use the methods of ResultSet to obtain information about the
fields of first record.
To move to subsequent records, use the MoveNext method again. You can now use the methods of ResultSet to obtain information about the fields of the current record.
Note: If you plan to view or modify a record,
your query must ask HCL Compass to
return the ID field of the record. With this ID, you can then use
the
GetEntity
method
of the Session object to obtain the corresponding Entity object. For
more information, see "Working with
records".