Click or drag to resize

ValueListProjectionDefinitionAddLambdaAsProducerFuncToProjection 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.10.0.0 (5.10.0)
Syntax
public void AddLambdaAsProducerFuncToProjection(
	string targetName,
	Type targetType,
	LambdaExpression toAdd,
	Dictionary<int, Expression> gatheredElements,
	ITemplateGroupSpecificCreator frameworkElementCreator,
	IElementCreatorCore generatedCodeElementCreator,
	MappingTracker trackedMappings
)

Parameters

targetName
Type: SystemString
Name of the target.
targetType
Type: SystemType
Type of the target.
toAdd
Type: System.Linq.ExpressionsLambdaExpression
The lambda to add.
gatheredElements
Type: System.Collections.GenericDictionaryInt32, Expression
The gathered elements.
frameworkElementCreator
Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
The framework element creator.
generatedCodeElementCreator
Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The generated code element creator.
trackedMappings
Type: SD.LLBLGen.Pro.LinqSupportClassesMappingTracker
The tracked mappings.
See Also