Code: Select all
context.Table.Skip(x).Take(y)
Code: Select all
SELECT [t1].Column1, ...
FROM (
SELECT [t2].Column1, ...,
ROW_NUMBER() OVER (ORDER BY [t2].Column1, ...]) AS [rnum]
FROM (
SELECT [t3].Column1, ...
FROM Table [t3]
) [t2]
) [t1]
WHERE ([t1].[rnum] > @p0) AND ([t1].[rnum] <= @p1)
ORDER BY [t1].[rnum]
-- @p0: Input Int (Size = 0; DbType = Int32) [x]
-- @p1: Input Int (Size = 0; DbType = Int32) [y]"
Code: Select all
([t1].[rnum] > 10) AND ([t1].[rnum] <= 10)
Code: Select all
..snip...
WHERE ([t1].[rnum] > @p0) AND ([t1].[rnum] <= (@p0 + @p1))
..snip...
Code: Select all
..snip...
WHERE ([t1].[rnum] > 10) AND ([t1].[rnum] <= 20)
..snip...