Click or drag to resize
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.2.0.0 (5.2.17.0403)
Syntax
public void AddExpressionElement(
	string elementName,
	Type elementType,
	Expression elementToAdd,
	int elementIndex,
	IElementCreatorCore generatedCodeCreator,
	ITemplateGroupSpecificCreator frameworkElementCreator,
	MappingTracker trackedMappings,
	FunctionMappingsContainer functionMappings
)

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