PredicateExtensionMethods Methods |
The PredicateExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
And |
Returns a new PredicateExpression with contents: predicate AND toAdd
| |
AndNot |
Returns a new PredicateExpression with contents: predicate AND NOT toAdd
| |
As |
Specifies an alias for the value returned by the predicate when the predicate is used in a projection. Equal to:
Functions.IIF(predicate, true, false).As(alias)
| |
AsBooleanValue |
Returns the predicate wrapped in a CASE WHEN (predicate) THEN 1 ELSE 0 END construct (as a function call expression) so the predicate can be
used as a real boolean value in other places than the Where clause.
| |
CaseInsensitive(FieldCompareValuePredicate) |
Makes the predicate a case-insensitive comparison by using the UPPER() function on the value to compare to the pattern specified in the predicate.
Make sure the predicate's value is specified with uppercase characters. Only useful on case-sensitive collations.
| |
CaseInsensitive(FieldLikePredicate) |
Makes the predicate a case-insensitive comparison by using the UPPER() function on the value to compare to the pattern specified in the predicate.
Make sure the predicate's pattern is specified with uppercase characters. Only useful on case-sensitive collations.
| |
Or |
Returns a new PredicateExpression with contents: predicate OR toAdd
| |
OrNot |
Returns a new PredicateExpression with contents: predicate OR NOT toAdd
| |
ToValue |
Placeholder method which is used in a Select(lambda func) projection inside the lambda to specify the type of the result of the passed in predicate.
Use this method only when specifying a predicate in the projection lambda.
|