Interface IExpressionSpec<TModel>
- Namespace
- Motiv
- Assembly
- Motiv.dll
Represents a proposition that retains a recoverable predicate expression tree, suitable for use with query providers (e.g. IQueryable<T> translation).
public interface IExpressionSpec<TModel>
Type Parameters
TModelThe model type that the proposition evaluates against.
- Extension Methods
Methods
ToExpression()
Gets the predicate expression tree that this proposition represents.
Expression<Func<TModel, bool>> ToExpression()
Returns
- Expression<Func<TModel, bool>>
The predicate lambda expression describing this proposition.