Click or drag to resize

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.10.0.0 (5.10.0)
Syntax
public static LambdaExpression CreateProjectionLambdaForPoco(
	Type pocoType
)

Parameters

pocoType
Type: SystemType
the type of the poco to create the lambda for

Return Value

Type: LambdaExpression
See Also