Table of Contents

Interface ISagaQuery<TSaga>

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

A saga query is used when a LINQ expression is accepted to query the saga repository storage to get zero or more saga instances

public interface ISagaQuery<TSaga> where TSaga : class, ISaga

Type Parameters

TSaga

Properties

FilterExpression

The query expression that returns true if the saga matches the query.

Expression<Func<TSaga, bool>> FilterExpression { get; }

Property Value

Expression<Func<TSaga, bool>>

Methods

GetFilter()

Compiles a function that can be used to programatically compare a saga instance to the filter expression.

Func<TSaga, bool> GetFilter()

Returns

Func<TSaga, bool>