Click or drag to resize

ValueListProjectionDefinition.AddLambdaAsProducerFuncToProjection Method

Adds the lambda as producer func to projection. It adds the lambda in compiled form to the datavalueprojectors and all gathered elements to the queryelements.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public void AddLambdaAsProducerFuncToProjection(
	string targetName,
	Type targetType,
	LambdaExpression toAdd,
	Dictionary<int, Expression> gatheredElements,
	ITemplateGroupSpecificCreator frameworkElementCreator,
	IElementCreatorCore generatedCodeElementCreator,
	MappingTracker trackedMappings
)

Parameters

targetName
Type: System.String
Name of the target.
targetType
Type: System.Type
Type of the target.
toAdd
Type: System.Linq.Expressions.LambdaExpression
The lambda to add.
gatheredElements
Type: System.Collections.Generic.Dictionary<Int32, Expression>
The gathered elements.
frameworkElementCreator
Type: SD.LLBLGen.Pro.LinqSupportClasses.ITemplateGroupSpecificCreator
The framework element creator.
generatedCodeElementCreator
Type: SD.LLBLGen.Pro.ORMSupportClasses.IElementCreatorCore
The generated code element creator.
trackedMappings
Type: SD.LLBLGen.Pro.LinqSupportClasses.MappingTracker
The tracked mappings.
See Also