MetadataWorkspaceExtensions.GetAllAssociations Method (ItemCollection)
Retrieves an enumerable collection of all AssociationType elements in this ItemCollection
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
public static IEnumerable<AssociationType> GetAllAssociations( this ItemCollection itemCollection )
Parameters
- itemCollection
-
Type:
System.Data.Entity.Core.Metadata.Edm.ItemCollection
The ItemCollection.
Return Value
Type: System.Collections.Generic.IEnumerable<AssociationType>The list of AssociationType elements.