LinqUtilsProduceInvocationLambdaFromInvocationExpression Method |
Produces an invocation lambda from the invocation expression passed in.
It wraps the realLambda into a (values, indices) => realLambda(values[indexes[0]], values[indexes[1]], ...) call.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public static LambdaExpression ProduceInvocationLambdaFromInvocationExpression(
InvocationExpression toConvert,
Dictionary<int, Expression> invocationArguments
)
Public Shared Function ProduceInvocationLambdaFromInvocationExpression (
toConvert As InvocationExpression,
invocationArguments As Dictionary(Of Integer, Expression)
) As LambdaExpression
Parameters
- toConvert
- Type: System.Linq.ExpressionsInvocationExpression
To convert. - invocationArguments
- Type: System.Collections.GenericDictionaryInt32, Expression
The invocation arguments.
Return Value
Type:
LambdaExpressionLambda which is usable in a projection.
Remarks The passed in expression is already handled.
See Also