LinqUtilsDetermineComparisonOperatorForPredicate Method |
Determines the comparison operator for predicate from the operands passed in.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax public static ComparisonOperator DetermineComparisonOperatorForPredicate(
ExpressionType nodeType,
bool operandsSwapped
)
Public Shared Function DetermineComparisonOperatorForPredicate (
nodeType As ExpressionType,
operandsSwapped As Boolean
) As ComparisonOperator
Parameters
- nodeType
- Type: System.Linq.ExpressionsExpressionType
Type of the node. - operandsSwapped
- Type: SystemBoolean
if true, the operator has to be the opposite as the operands were swapped
Return Value
Type:
ComparisonOperatorSee Also