Table of Contents

Interface IQueryPipeline

Namespace
Cratis.Applications.Queries
Assembly
Cratis.Applications.dll

Defines a system can execute queries.

public interface IQueryPipeline
Extension Methods

Methods

Perform(FullyQualifiedQueryName, QueryArguments, Paging, Sorting)

Performs the given query.

Task<QueryResult> Perform(FullyQualifiedQueryName queryName, QueryArguments arguments, Paging paging, Sorting sorting)

Parameters

queryName FullyQualifiedQueryName

The name of the query to perform.

arguments QueryArguments

The arguments for the query.

paging Paging

The paging to apply to the query.

sorting Sorting

The sorting to apply to the query.

Returns

Task<QueryResult>

A QueryResult representing the result of executing the command.