ProjectionListExpressionAddExpressionElement Method |
Adds the linq expression element to this expression
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax public void AddExpressionElement(
string elementName,
Type elementType,
Expression elementToAdd,
int elementIndex,
IElementCreatorCore generatedCodeCreator,
ITemplateGroupSpecificCreator frameworkElementCreator,
MappingTracker trackedMappings,
FunctionMappingsContainer functionMappings
)
Public Sub AddExpressionElement (
elementName As String,
elementType As Type,
elementToAdd As Expression,
elementIndex As Integer,
generatedCodeCreator As IElementCreatorCore,
frameworkElementCreator As ITemplateGroupSpecificCreator,
trackedMappings As MappingTracker,
functionMappings As FunctionMappingsContainer
)
Parameters
- elementName
- Type: SystemString
Name of the element. - elementType
- Type: SystemType
Type of the element. - elementToAdd
- Type: System.Linq.ExpressionsExpression
The element to add. - elementIndex
- Type: SystemInt32
Index of the element in the indices array which has to be passed to the projector func. Therefore this
parameter contains the index in 'indices' where the real index in 'values' is stored. - generatedCodeCreator
- Type: SD.LLBLGen.Pro.ORMSupportClassesIElementCreatorCore
The generated code creator. - frameworkElementCreator
- Type: SD.LLBLGen.Pro.LinqSupportClassesITemplateGroupSpecificCreator
The framework element creator. - trackedMappings
- Type: SD.LLBLGen.Pro.LinqSupportClassesMappingTracker
The tracked mappings. - functionMappings
- Type: SD.LLBLGen.Pro.LinqSupportClassesFunctionMappingsContainer
The function mappings.
See Also