MapperDetailMoveTo Method (Int32) |
Move to the specified row number (1-based).
Note that
RowCurrent events are NOT fired and data is NOT
moved through the mapper's
Fields during the move. In general you should use
this method to position the mapper to the record immeditately PRIOR to the first record of
interest and then use
MoveNext to iterate through one or more records of interest.
Remarks Examples
For example, to implement a page size of 10 records and read data for the 2nd page, you would
first call mapper.MoveTo(10); to position to the 10th row (the last row of page 1) then
iteratively call mapper.MoveNext(); until you have read 10 records (11 through 20) or
until mapper.MoveNext();MoveNext() returns false indicating that there are no more records.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public override bool MoveTo(
int row
)
Public Overrides Function MoveTo (
row As Integer
) As Boolean
Parameters
- row
- Type: SystemInt32
The 1-based row number to which to move.
Return Value
Type:
BooleanTrue if movement succeeded, else false.
Implements
IMapperMoveTo(Int32)See Also