Click or drag to resize

LinqUtilsCreateProjectionLambdaForTypedViewExpression Method

Creates a p=>new T() { A = p.A, B=p.B, ...} expression for toWrap. Only fields of the typed view which have a corresponding property in the return type of toWrap are considered.

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 CreateProjectionLambdaForTypedViewExpression(
	TypedViewExpression toWrap,
	IElementCreatorCore creator
)

Parameters

toWrap
Type: SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClassesTypedViewExpression
To wrap.
creator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The creator.

Return Value

Type: LambdaExpression
Exceptions
ExceptionCondition
ArgumentNullExceptiontoWrap
See Also