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)
Syntaxpublic Expression ReduceSetExpressionToQueryExpression(
Expression toReduce,
out bool couldBeReduced
)
Public Function ReduceSetExpressionToQueryExpression (
toReduce As Expression,
<OutAttribute> ByRef couldBeReduced As Boolean
) As Expression
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:
Expressionthe reduce result of reducing toReduce
See Also