MetadataWorkspaceExtensions.IsManyToMany Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see]

Determines if an association's multiplicity is *:*

Namespace:  Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly:  Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)


<ExtensionAttribute> _
Public Shared Function IsManyToMany ( _
    association As AssociationType _
) As Boolean
Dim association As AssociationType 
Dim returnValue As Boolean 

returnValue = association.IsManyToMany()
public static bool IsManyToMany(
    this AssociationType association
static bool IsManyToMany(
    AssociationType^ association
static member IsManyToMany : 
        association:AssociationType -> bool
public static function IsManyToMany(
    association : AssociationType
) : boolean


Return Value

Type: System.Boolean
true if association's multiplicity is *:*, false otherwise

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AssociationType. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


MetadataWorkspaceExtensions Class

Microsoft.Data.Entity.Design.DatabaseGeneration Namespace