IFilteredPageReader<T>

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(string correlationId, FilterParams filter, PagingParams paging, SortParams sort)

  • correlationId: string - (optional) transaction id used to trace execution through the call chain.
  • filter: FilterParams - (optional) filter parameters
  • paging: PagingParams - (optional) paging parameters
  • sort: SortParams - (optional) sort parameters
  • returns: Task<DataPage<T>> - list of items