LinqUtilsCreateProjectionLambdaForPoco Method |
Creates a p=>new T() { A = p.A, B=p.B, ...} expression for toWrap. All properties of T will be considered. Assumes T has an empty constructor.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax public static LambdaExpression CreateProjectionLambdaForPoco(
Type pocoType
)
Public Shared Function CreateProjectionLambdaForPoco (
pocoType As Type
) As LambdaExpression
Parameters
- pocoType
- Type: SystemType
the type of the poco to create the lambda for
Return Value
Type:
LambdaExpressionSee Also