MetadataWorkspaceExtensions.GetNamespace Method (ItemCollection)
Retrieves the namespace of this ItemCollection by examining the first-found StructuralType
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
Parameters
- itemCollection
-
Type:
System.Data.Entity.Core.Metadata.Edm.ItemCollection
The ItemCollection.
Return Value
Type: System.StringThe namespace as a string, or null if there are no StructuralTypes to retrieve the namespace