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