Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
public static LambdaExpression ProduceInvocationLambdaFromInvocationExpression(
	InvocationExpression toConvert,
	Dictionary<int, Expression> invocationArguments
)

Parameters

toConvert
Type: System.Linq.ExpressionsInvocationExpression
To convert.
invocationArguments
Type: System.Collections.GenericDictionaryInt32, Expression
The invocation arguments.

Return Value

Type: LambdaExpression
Lambda which is usable in a projection.
Remarks
The passed in expression is already handled.
See Also