Page Method
Page(int)
Paginates results.
Declaration
public static IPagingPredicate Page(int pageSize)
Parameters
int | pageSize | The size of a page. |
Returns
IPagingPredicate | A new predicate. |
Page(int, IComparer<KeyValuePair<object, object>>)
Paginates results.
Declaration
public static IPagingPredicate Page(int pageSize, IComparer<KeyValuePair<object, object>> comparer)
Parameters
int | pageSize | The size of a page. |
IComparer<KeyValuePair<object, object>> | comparer | A comparer used to order results. |
Returns
IPagingPredicate | A new predicate. |
Page(int, IPredicate)
Paginates results of a predicate.
Declaration
public static IPagingPredicate Page(int pageSize, IPredicate predicate)
Parameters
int | pageSize | The size of a page. |
IPredicate | predicate | The predicate. |
Returns
IPagingPredicate | A new predicate. |
Page(int, IPredicate, IComparer<KeyValuePair<object, object>>)
Paginates results of a predicate.
Declaration
public static IPagingPredicate Page(int pageSize, IPredicate predicate, IComparer<KeyValuePair<object, object>> comparer)
Parameters
int | pageSize | The size of a page. |
IPredicate | predicate | The predicate. |
IComparer<KeyValuePair<object, object>> | comparer | A comparer used to order results. |
Returns
IPagingPredicate | A new predicate. |