[]
Specifies that the client view loading is performed not in a single trip to the server but in multiple batches, each loading a page of a limited size so the user sees the result and can interact with it before all pages are loaded.
public ProgressiveView<T> ProgressiveLoading<TKey>(Expression<Func<T, TKey>> sortKeySelector, int loadSize)
Type | Name | Description |
---|---|---|
Expression<Func<T, TKey>> | sortKeySelector | A function specifying a sort key. |
int | loadSize | The size of the page. |
Type | Description |
---|---|
ProgressiveView<T> | A client view that loads the same entities as the source view but does it progressively. |
Name | Description |
---|---|
TKey | The type of the sort key. |
Sorting is required, loading entities progressively is impossible without sort.
Specifies that the client view loading is performed not in a single trip to the server but in multiple batches, each loading a page of a limited size so the user sees the result and can interact with it before all pages are loaded.
public ProgressiveView<T> ProgressiveLoading<TKey>(Expression<Func<T, TKey>> sortKeySelector, bool ascending, int loadSize)
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 | loadSize | The size of the page. |
Type | Description |
---|---|
ProgressiveView<T> | A client view that loads the same entities as the source view but does it progressively. |
Name | Description |
---|---|
TKey | The type of the sort key. |
Sorting is required, loading entities progressively is impossible without sort.