Click or drag to resize

IMapperMoveRelative Method (Int32, Boolean, MoveReason)

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.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool MoveRelative(
	int number,
	bool page,
	MoveReason reason
)

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.
reason
Type: NetQuarry.DataMoveReason
The reason for the move.

Return Value

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