IQuerablePageReader<T>

Interface for data processing components that can query a page of data items.

Description

The IQuerablePageReader interface is used by data processing components that can query a page of data items.

Instance methods

GetPageByQueryAsync

Gets a page of data items using a query string.

Task<DataPage<T>> GetPageByQueryAsync(string correlationId, string query, PagingParams paging, SortParams sort)

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