Table of Contents

Class Paging

Namespace
Shift.Common
Assembly
Shift.Common.dll
public class Paging
Inheritance
Paging
Inherited Members
Extension Methods

Properties

Skip

public int Skip { get; }

Property Value

int

Take

public int? Take { get; }

Property Value

int?

Methods

SetPage(int?, int)

public static Paging SetPage(int? page, int pageSize)

Parameters

page int?
pageSize int

Returns

Paging

SetSkipTake(int, int)

public static Paging SetSkipTake(int skip, int take)

Parameters

skip int
take int

Returns

Paging

SetStartEnd(int, int)

public static Paging SetStartEnd(int startRow, int endRow)

Parameters

startRow int
endRow int

Returns

Paging

ToSkipTake()

public (int Skip, int Take) ToSkipTake()

Returns

(int StartRow, int EndRow)

ToStartEnd()

public (int StartRow, int EndRow) ToStartEnd()

Returns

(int StartRow, int EndRow)