src/Misc/EFTools/EntityDesignDatabaseGeneration/MetadataWorkspaceExtensions.cs
/// <summary>
///     Returns the first <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 first <see cref="AssociationEndMember" /> in the AssociationEndMembers property of the specified
///     <see
///         cref="AssociationType" />
///     .
/// </returns>
Returns the first  in the AssociationEndMembers property of the specified


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


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