src/Misc/EFTools/EntityDesignDatabaseGeneration/MetadataWorkspaceExtensions.cs
/// <summary>
///     Given an AssociationEndMember of this Association, this method will return the other end participating
///     in the association
/// </summary>
/// <param name="association">The Association.</param>
/// <param name="end">An AssociationEndMember.</param>
/// <returns>The other end.</returns>
Given an AssociationEndMember of this Association, this method will return the other end participating
in the association
Given an AssociationEndMember of this Association this method will return the other end participating in the association
public static AssociationEndMember GetOtherEnd(this AssociationType association, AssociationEndMember end)
        {
            if (end != null)
            {
                return end == association.GetEnd1() ? association.GetEnd2() : association.GetEnd1();
            }
            return null;
        }
public static AssociationEndMember GetOtherEnd ( this AssociationType association , AssociationEndMember end ) { if ( end != null ) { return end == association . GetEnd1 ( ) ? association . GetEnd2 ( ) : association . GetEnd1 ( ) ; } return null ; }
Given an AssociationEndMember of this Association, this method will return the other end participating
in the association
Given an AssociationEndMember of this Association this method will return the other end participating in the association
The other end.
The other end .
AssociationType
this
end
AssociationEndMember
None
association
None