Click or drag to resize

MapperKernelMoveRelative Method (Int32, Boolean)

Move to a record relative to the current record. Note that this will throw an InvalidMapperMovement error if movement is negative and the mapper is not BiDirectional.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public virtual bool MoveRelative(
	int number,
	bool page
)

Parameters

number
Type: SystemInt32
The number of pages or records to move. A positive number moves forward, a negative number back.
page
Type: SystemBoolean
Move by page count if true, else by record count.

Return Value

Type: Boolean
true if the move was successful, otherwise false.

Implements

IMapperMoveRelative(Int32, Boolean)
See Also