Click or drag to resize

QueryExpressionBuilderReduceSetExpressionToQueryExpression Method

Reduces the expression specified to a QueryExpression, if possible.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.ExpressionHandlers
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntax
public Expression ReduceSetExpressionToQueryExpression(
	Expression toReduce,
	out bool couldBeReduced
)

Parameters

toReduce
Type: System.Linq.ExpressionsExpression
the expression to reduce
couldBeReduced
Type: SystemBoolean
set to true if the query could be reduced to a queryexpression, false otherwise. True is returned also if toReduce already is a queryExpression

Return Value

Type: Expression
the reduce result of reducing toReduce
See Also