| DynamicQueryEngineManglePageSelectDQ2012 Method (IRetrievalQuery, Int32, Int32, Boolean) |
Namespace: SD.LLBLGen.Pro.DQE.SqlServer
protected virtual void ManglePageSelectDQ2012( IRetrievalQuery selectQuery, int rowsToSkip, int rowsToTake, bool orderByPresent )
SELECT ...
FROM ...
OFFSET rowsToSkip ROWS
-- if rowsToTake > 0 ->
FETCH NEXT (rowsToTake) ROWS ONLY
If no order by is present in the query, orderByPresent is false, and the query engine will append an ORDER BY (SELECT NULL) first before the OFFSET.