Click or drag to resize

MappingTrackerFindObjectAlias Method (ParameterExpression, Boolean)

Finds the object alias for the parameter specified. This is the alias assigned to the set which is represented by the type specified by the parameter passed in. If the parameter was a parameter of a selector of a side in a join expression, this parameter has the alias for the side it represented.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public SetAlias FindObjectAlias(
	ParameterExpression expressionToHandle,
	bool returnRealAlias = false
)

Parameters

expressionToHandle
Type: System.Linq.ExpressionsParameterExpression
The expression to handle.
returnRealAlias (Optional)
Type: SystemBoolean
If true (default is false) it will return the real alias, otherwise the reachable alias.

Return Value

Type: SetAlias
the alias related to the parameter or string.empty if not found
See Also