src/Misc/EFTools/EntityDesignDatabaseGeneration/MetadataWorkspaceExtensions.cs
/// <summary>
///     Determines if an association's multiplicity is *:*
/// </summary>
/// <param name="association">The association.</param>
/// <returns>true if association's multiplicity is *:*, false otherwise</returns>
Determines if an association's multiplicity is *.
Determines if an association ' s multiplicity is * .
public static bool IsManyToMany(this AssociationType association)
        {
            return association.GetEnd1().RelationshipMultiplicity == RelationshipMultiplicity.Many
                   && association.GetEnd2().RelationshipMultiplicity == RelationshipMultiplicity.Many;
        }
public static bool IsManyToMany ( this AssociationType association ) { return association . GetEnd1 ( ) . RelationshipMultiplicity == RelationshipMultiplicity . Many && association . GetEnd2 ( ) . RelationshipMultiplicity == RelationshipMultiplicity . Many ; }
Determines if an association's multiplicity is *:
Determines if an association ' s multiplicity is * :
true if association's multiplicity is *:*, false otherwise
true if association ' s multiplicity is * : * false otherwise
AssociationType
this
association
None