Click or drag to resize

MappingTrackerAddQueryProjectionForAlias Method

Adds the projection of a query for the specified alias to the mappings. This is useful when we've a SetReferenceExpression which refers to a set with an alias and we need to obtain its projection (which is all we need from the referenced set anyway, the rest is already in the SetReferenceExpression.

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 AddQueryProjectionForAlias(
	ProjectionExpression toAdd,
	SetAlias alias
)

Parameters

toAdd
Type: SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClassesProjectionExpression
To add.
alias
Type: SD.LLBLGen.Pro.LinqSupportClassesSetAlias
The alias.
See Also