MappingTrackerFindObjectAlias Method (MemberInfo, String, Boolean, Boolean) | 
 
            Finds the object alias for the member info specified. This is the alias assigned to the set which is represented by the
            memberinfo passed in which is a memberinfo on an anonymous type created in a Join expression as the result of the join.
            
 
    Namespace: 
   SD.LLBLGen.Pro.LinqSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxpublic SetAlias FindObjectAlias(
	MemberInfo info,
	string expressionKey,
	bool respectScopes = true,
	bool firstScopeOnly = false
)
Public Function FindObjectAlias ( 
	info As MemberInfo,
	expressionKey As String,
	Optional respectScopes As Boolean = true,
	Optional firstScopeOnly As Boolean = false
) As SetAlias
Parameters
- info
 - Type: System.ReflectionMemberInfo
The MemberInfo to look the alias for. - expressionKey
 - Type: SystemString
The expression key of the member expression. - respectScopes (Optional)
 - Type: SystemBoolean
If true (default) it will respect scope rules and will return the alias of a containing scope if an alias is found, otherwise it
            will return the first matching alias, whether it's in scope or not - firstScopeOnly (Optional)
 - Type: SystemBoolean
If true, it'll only check the top scope of the stack of scopes. Default is false, meaning it will check outer scopes as well 
Return Value
Type: 
SetAlias
            the alias to find, or empty alias if not found
            
RemarksWalks all the scopes on the stack.
See Also