Click or drag to resize

LinqUtils.CreatePredicate Method (Object, ComparisonOperator, Object, ITemplateGroupSpecificCreator, String, String, Boolean)

Creates a predicate based on the imput specified.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntax
public static IPredicate CreatePredicate(
	Object leftOperand,
	ComparisonOperator predicateOperator,
	Object rightOperand,
	ITemplateGroupSpecificCreator frameworkElementCreator,
	string aliasLeftOperand = "",
	string aliasRightOperand = "",
	bool cloneOperands = false
)

Parameters

leftOperand
Type: System.Object
The left operand.
predicateOperator
Type: SD.LLBLGen.Pro.ORMSupportClasses.ComparisonOperator
The predicate operator.
rightOperand
Type: System.Object
The right operand.
frameworkElementCreator
Type: SD.LLBLGen.Pro.LinqSupportClasses.ITemplateGroupSpecificCreator
The framework element creator.
aliasLeftOperand (Optional)
Type: System.String
The alias to set on the left operand if it's not the empty string
aliasRightOperand (Optional)
Type: System.String
The alias to set on the right operand if it's not the empty string
cloneOperands (Optional)
Type: System.Boolean
If true, the operands passed in are cloned before processing

Return Value

Type: IPredicate
See Also