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.9.0.0 (5.9.0)
Syntax public void AddLambdaAsProducerFuncToProjection(
string targetName,
Type targetType,
LambdaExpression toAdd,
Dictionary<int, Expression> gatheredElements,
ITemplateGroupSpecificCreator frameworkElementCreator,
IElementCreatorCore generatedCodeElementCreator,
MappingTracker trackedMappings
)
Public Sub AddLambdaAsProducerFuncToProjection (
targetName As String,
targetType As Type,
toAdd As LambdaExpression,
gatheredElements As Dictionary(Of Integer, Expression),
frameworkElementCreator As ITemplateGroupSpecificCreator,
generatedCodeElementCreator As IElementCreatorCore,
trackedMappings As MappingTracker
)
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