ProjectionListExpression.AddExpressionElement 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.4.0.0 (5.4.0)
Syntaxpublic 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: System.String
Name of the element. - elementType
- Type: System.Type
Type of the element. - elementToAdd
- Type: System.Linq.Expressions.Expression
The element to add. - elementIndex
- Type: System.Int32
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.ORMSupportClasses.IElementCreatorCore
The generated code creator. - frameworkElementCreator
- Type: SD.LLBLGen.Pro.LinqSupportClasses.ITemplateGroupSpecificCreator
The framework element creator. - trackedMappings
- Type: SD.LLBLGen.Pro.LinqSupportClasses.MappingTracker
The tracked mappings. - functionMappings
- Type: SD.LLBLGen.Pro.LinqSupportClasses.FunctionMappingsContainer
The function mappings.
See Also