Click or drag to resize

GeneralUtilsCalculateRowSkipTake Method

Calculates the row skip / take values from the 3 values from the pre-v4 api.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static void CalculateRowSkipTake(
	int pageNumber,
	int pageSize,
	int maxNumberOfItemsToReturn,
	out int rowsToSkip,
	out int rowsToTake
)

Parameters

pageNumber
Type: SystemInt32
The page number.
pageSize
Type: SystemInt32
Size of the page.
maxNumberOfItemsToReturn
Type: SystemInt32
The max number of items to return.
rowsToSkip
Type: SystemInt32
The rows to skip.
rowsToTake
Type: SystemInt32
The rows to take.
See Also