Method PreparePaging
- Namespace
- Skyline.DataMiner.Net.ManagerStore
- Assembly
- SLNetTypes.dll
PreparePaging(FilterElement<T>, long)
Prepares the paging using the specified filter elements and preferred page size.
public PagingHelper<T> PreparePaging(FilterElement<T> filter, long preferredPageSize)
Parameters
filter
FilterElement<T>The filter elements.
preferredPageSize
longThe preferred page size.
Returns
- PagingHelper<T>
The paging helper instance.
PreparePaging(FilterElement<T>)
Prepares the paging.
public PagingHelper<T> PreparePaging(FilterElement<T> filter)
Parameters
filter
FilterElement<T>The filter elements.
Returns
- PagingHelper<T>
The paging helper instance.
PreparePaging(IQuery<T>, long)
Prepares the paging using the specified query and preferred page size.
public virtual PagingHelper<T> PreparePaging(IQuery<T> query, long preferredPageSize)
Parameters
query
IQuery<T>The query.
preferredPageSize
longThe preferred page size.
Returns
- PagingHelper<T>
The paging helper instance.
PreparePaging(IQuery<T>)
Prepares the paging using the specified query and default preferred page size (500).
public virtual PagingHelper<T> PreparePaging(IQuery<T> query)
Parameters
query
IQuery<T>The query.
Returns
- PagingHelper<T>
The paging helper instance.