Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
public static ComparisonOperator DetermineComparisonOperatorForPredicate(
	ExpressionType nodeType,
	bool operandsSwapped
)

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: ComparisonOperator
See Also