MetadataWorkspaceExtensions.GetAllEntityTypes Method (ItemCollection)

 

Retrieves an enumerable collection of all EntityType elements in this ItemCollection

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

public static IEnumerable<EntityType> GetAllEntityTypes(
	this ItemCollection itemCollection
)

Parameters

itemCollection
Type: System.Data.Entity.Core.Metadata.Edm.ItemCollection

The ItemCollection.

Return Value

Type: System.Collections.Generic.IEnumerable<EntityType>

The list of EntityType elements.