src/Misc/EFTools/EntityDesignModel/Mapping/PropertyMappingNameNormalizer.cs
/// <summary>
///     Normalize a refName where the refName is a child of a AssociationSetMapping
/// </summary>
/// <param name="asm"></param>
/// <param name="ep"></param>
/// <param name="parent"></param>
/// <param name="refName"></param>
/// <returns></returns>
Normalize a refName where the refName is a child of a AssociationSetMapping
Normalize a refName where the refName is a child of a AssociationSetMapping
private static NormalizedName NormalizePropertyNameRelativeToAssociationSetMapping(
            AssociationSetMapping asm, EndProperty ep, EFElement parent, string refName)
        {
            NormalizedName nn = null;
            if (ep != null
                && asm != null)
            {
                var prop = parent as ScalarProperty;
                Debug.Assert(prop != null, "parent should be a ScalarProperty");
                if (ep.Name.Status == BindingStatus.Known)
                {
                    nn = NormalizeNameFromAssociationSetEnd(ep.Name.Target, parent, refName);
                }
            }
            return nn;
        }
private static NormalizedName NormalizePropertyNameRelativeToAssociationSetMapping ( AssociationSetMapping asm , EndProperty ep , EFElement parent , string refName ) { NormalizedName nn = null ; if ( ep != null && asm != null ) { var prop = parent as ScalarProperty ; Debug . Assert ( prop != null , " " ) ; if ( ep . Name . Status == BindingStatus . Known ) { nn = NormalizeNameFromAssociationSetEnd ( ep . Name . Target , parent , refName ) ; } } return nn ; }
Normalize a refName where the refName is a child of a AssociationSetMapping
Normalize a refName where the refName is a child of a AssociationSetMapping
None
asm
AssociationSetMapping
None
ep
EndProperty
None
parent
EFElement
None
refName
string
None