Click or drag to resize

QuerySpecExtensionMethodsOffsetTQuery Method

Sets the offset of the query, the number of elements to skip before read will start. 0 means no offset.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public static TQuery Offset<TQuery>(
	this TQuery query,
	int offset
)
where TQuery : QuerySpec

Parameters

query
Type: TQuery
The query.
offset
Type: SystemInt32
The offset.

Type Parameters

TQuery
The type of the query.

Return Value

Type: TQuery

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentExceptionlimit is a value which should be set to 0 or higher, where 0 means no limit
Remarks
Page() will overwrite this value.
See Also