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.3.0.0 (5.3.0)
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