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.11.0.0 (5.11.23.1114)
Syntax public ProjectionRowDelegate<T> ConvertToProjectorLambda<T>(
Expression<Func<T>> toConvert
)
Public Function ConvertToProjectorLambda(Of T) (
toConvert As Expression(Of Func(Of T))
) As ProjectionRowDelegate(Of T)
Parameters
- toConvert
- Type: System.Linq.ExpressionsExpressionFuncT
To convert.
Type Parameters
- T
Return Value
Type:
ProjectionRowDelegateTthe 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