Click or drag to resize

ProjectionLambdaTransformerConvertToProjectorLambdaT Method

Converts the specified expression to a projector lambda. The expression is first handled, which converts elements properly and then converted into a lambda, where the passed in, altered expression is used as the body.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public ProjectionRowDelegate<T> ConvertToProjectorLambda<T>(
	Expression<Func<T>> toConvert
)

Parameters

toConvert
Type: System.Linq.ExpressionsExpressionFuncT
To convert.

Type Parameters

T

Return Value

Type: ProjectionRowDelegateT
the compiled, ready to use delegate converted from the passed in toConvert.
Remarks
After this method, the SelectArguments property contains the elements to pass to Select(params object[])
See Also