LinqUtilsUnwrapNotExpression Method |
Unwraps the expression from the not expressions it is wrapped in and returns the unwrapped result, as well as the # of not expressions encountered.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax public static Expression UnwrapNotExpression(
Expression wrappedExpression,
out int numberOfNotsEncountered
)
Public Shared Function UnwrapNotExpression (
wrappedExpression As Expression,
<OutAttribute> ByRef numberOfNotsEncountered As Integer
) As Expression
Parameters
- wrappedExpression
- Type: System.Linq.ExpressionsExpression
The wrapped expression. - numberOfNotsEncountered
- Type: SystemInt32
The number of nots encountered.
Return Value
Type:
Expressionthe unwrapped expression
See Also