Expression Methods |
The Expression type exposes the following members.
Name | Description | |
---|---|---|
Any |
Returns the start of an expression that will evaluate if any elements
inside of an array match a given predicate
Usage: Expression.Any("x").In(Expression.Property("prop")).Satisfies(Expression.Variable("x").EqualTo(42)) | |
AnyAndEvery |
Returns the start of an expression that will evaluate the following:
1. The array is not empty (has "any" elements)
2. Every element in the array matches a given predicate ("every" element matches)
Usage: Expression.AnyAndEvery("x").In(Expression.Property("prop")).Satisfies(Expression.Variable("x").EqualTo(42)) | |
Every |
Returns the start of an expression that will evaluate if every element inside
of an array matches a given predicate (note: That means that an empty array will
return true because "all zero" elements match)
Usage: Expression.Every("x").In(Expression.Property("prop")).Satisfies(Expression.Variable("x").EqualTo(42)) | |
Meta |
Creates an object that can generate expressions for retrieving metadata about
a result
| |
Negated |
Returns an expression representing the negated result of an expression
| |
Not |
Returns an expression representing the negated result of an expression
| |
Parameter(Int32) |
Gets an expression representing a positional parameter (as set in
Parameters) for use in a query
| |
Parameter(String) |
Gets an expression representing a named parameter (as set in
Parameters) for use in a query
| |
Property |
Returns an expression representing the value of a named property
| |
Variable |
Returns an expression representing the value of a named variable
assigned by earlier calls to Any(String) and family.
|