src/Shared/EntityFramework/Core/Metadata/Edm/Perspective.cs
// <summary>
// Given the type in the target space and the member name in the source space,
// get the corresponding member in the target space
// For e.g.  consider a Conceptual Type 'Abc' with a member 'Def' and a CLR type
// 'XAbc' with a member 'YDef'. If one has a reference to Abc one can
// invoke GetMember(Abc,"YDef") to retrieve the member metadata for Def
// </summary>
// <param name="type"> The type in the target perspective </param>
// <param name="memberName"> the name of the member in the source perspective </param>
// <param name="ignoreCase"> Whether to do case-sensitive member look up or not </param>
// <param name="outMember"> returns the member in target space, if a match is found </param>
Given the type in the target space and the member name in the source space,
get the corresponding member in the target space
For e.g.
Given the type in the target space and the member name in the source space get the corresponding member in the target space For e . g .
internal virtual bool TryGetMember(StructuralType type, String memberName, bool ignoreCase, out EdmMember outMember)
        {
            DebugCheck.NotNull(type);
            Check.NotEmpty(memberName, "memberName");
            outMember = null;
            return type.Members.TryGetValue(memberName, ignoreCase, out outMember);
        }
internal virtual bool TryGetMember ( StructuralType type , String memberName , bool ignoreCase , out EdmMember outMember ) { DebugCheck . NotNull ( type ) ; Check . NotEmpty ( memberName , " " ) ; outMember = null ; return type . Members . TryGetValue ( memberName , ignoreCase , out outMember ) ; }
Given the type in the target space and the member name in the source space,
get the corresponding member in the target space
For e.g.
Given the type in the target space and the member name in the source space get the corresponding member in the target space For e . g .
type
StructuralType
The type in the target perspective
The type in the target perspective
memberName
String
the name of the member in the source perspective
the name of the member in the source perspective
ignoreCase
bool
Whether to do case-sensitive member look up or not
Whether to do case - sensitive member look up or not
EdmMember
out
outMember
returns the member in target space, if a match is found
returns the member in target space if a match is found