Click or drag to resize

PredicateExtensionMethods Methods

The PredicateExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAnd
Returns a new PredicateExpression with contents: predicate AND toAdd
Public methodStatic memberAndNot
Returns a new PredicateExpression with contents: predicate AND NOT toAdd
Public methodStatic memberAs
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)
Public methodStatic memberAsBooleanValue
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.
Public methodStatic memberCaseInsensitive(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.
Public methodStatic memberCaseInsensitive(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.
Public methodStatic memberOr
Returns a new PredicateExpression with contents: predicate OR toAdd
Public methodStatic memberOrNot
Returns a new PredicateExpression with contents: predicate OR NOT toAdd
Public methodStatic memberToValue
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.
Top
See Also