[]
Applies paging to this client view.
public PagingView<T> Paging<TKey>(Expression<Func<T, TKey>> sortKeySelector, int pageSize)
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, TKey>> | sortKeySelector | A function specifying a sort key. |
| int | pageSize | A value for the PageSize property, the number of items to load in a page. |
| Type | Description |
|---|---|
| PagingView<T> |
| Name | Description |
|---|---|
| TKey | The type of the sort key. |
Sorting is required, paging entities is impossible without sort.
Applies paging to this client view.
public PagingView<T> Paging<TKey>(Expression<Func<T, TKey>> sortKeySelector, bool ascending, int pageSize)
| Type | Name | Description |
|---|---|---|
| Expression<Func<T, TKey>> | sortKeySelector | A function specifying a sort key. |
| bool | ascending | A boolean value indicating whether sorting must be performed in the ascending order (descending, if false). |
| int | pageSize | A value for the PageSize property, the number of items to load in a page. |
| Type | Description |
|---|---|
| PagingView<T> |
| Name | Description |
|---|---|
| TKey | The type of the sort key. |
Sorting is required, paging entities is impossible without sort.