Interface for data processing components that can retrieve a page of data items by a filter.
Description
The IFilteredPageReader interface is used by data processing components that can retrieve a page of data items through the use of a filter.
Instance methods
GetPageByFilterAsync
Gets a page of data items using filter parameters.
Task<DataPage<T>> GetPageByFilterAsync(IContext context, FilterParams filter, PagingParams paging, SortParams sort)
- context: IContext - (optional) a context to trace execution through a call chain.
- filter: FilterParams - (optional) filter parameters
- paging: PagingParams - (optional) paging parameters
- sort: SortParams - (optional) sort parameters
- returns: Task<DataPage<T>> - list of items