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(IContext context, string query, PagingParams paging, SortParams sort)
- context: IContext - (optional) a context to trace execution through a call chain.
- query: string - (optional) query string
- paging: PagingParams - (optional) paging parameters
- sort: SortParams - (optional) sorting parameters
- returns: Task<DataPage<T>> - list of items