LinqUtilsCreatePredicate 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.10.0.0 (5.10.0)
Syntax public static IPredicate CreatePredicate(
Object leftOperand,
ComparisonOperator predicateOperator,
Object rightOperand,
ITemplateGroupSpecificCreator frameworkElementCreator,
string aliasLeftOperand = "",
string aliasRightOperand = "",
bool cloneOperands = false
)
Public Shared Function CreatePredicate (
leftOperand As Object,
predicateOperator As ComparisonOperator,
rightOperand As Object,
frameworkElementCreator As ITemplateGroupSpecificCreator,
Optional aliasLeftOperand As String = "",
Optional aliasRightOperand As String = "",
Optional cloneOperands As Boolean = false
) As IPredicate
Parameters
- leftOperand
- Type: SystemObject
The left operand. - predicateOperator
- Type: SD.LLBLGen.Pro.ORMSupportClassesComparisonOperator
The predicate operator. - rightOperand
- Type: SystemObject
The right operand. - frameworkElementCreator
- Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
The framework element creator. - aliasLeftOperand (Optional)
- Type: SystemString
The alias to set on the left operand if it's not the empty string - aliasRightOperand (Optional)
- Type: SystemString
The alias to set on the right operand if it's not the empty string - cloneOperands (Optional)
- Type: SystemBoolean
If true, the operands passed in are cloned before processing
Return Value
Type:
IPredicateSee Also