IFilteredReader<T>

Interface for data processing components that can retrieve a list of data items through the use of a filter.

Description

The IFilteredReader interface is used by data processing components that can retrieve a list of data items through the use of a filter.

Instance methods

Where T : class.

GetListByFilterAsync

Gets a list of data items using filter parameters.

Task<List<T>> GetListByFilterAsync(string correlationId, FilterParams filter, SortParams sort)

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