src/Misc/EFTools/EntityDesignDatabaseGeneration/MetadataWorkspaceExtensions.cs
/// <summary>
///     Returns the second <see cref="AssociationEndMember" /> in the AssociationEndMembers property of the specified
///     <see
///         cref="AssociationType" />
///     .
/// </summary>
/// <param name="association">An association in a conceptual model.</param>
/// <returns>
///     The second <see cref="AssociationEndMember" /> in the AssociationEndMembers property of the specified
///     <see
///         cref="AssociationType" />
///     .
/// </returns>
Returns the second  in the AssociationEndMembers property of the specified


Returns the second in the AssociationEndMembers property of the specified
public static AssociationEndMember GetEnd2(this AssociationType association)
        {
            try
            {
                return association.AssociationEndMembers[1];
            }
            catch (IndexOutOfRangeException iore)
            {
                throw new InvalidOperationException(
                    String.Format(CultureInfo.CurrentCulture, Resources.ErrorNonValidAssociationEnds, association.Name), iore);
            }
        }
public static AssociationEndMember GetEnd2 ( this AssociationType association ) { try { return association . AssociationEndMembers [ 1 ] ; } catch ( IndexOutOfRangeException iore ) { throw new InvalidOperationException ( String . Format ( CultureInfo . CurrentCulture , Resources . ErrorNonValidAssociationEnds , association . Name ) , iore ) ; } }
Returns the second  in the AssociationEndMembers property of the specified
Returns the second in the AssociationEndMembers property of the specified
The second  in the AssociationEndMembers property of the specified


The second in the AssociationEndMembers property of the specified
AssociationType
this
association
An association in a conceptual model.
An association in a conceptual model .