MetadataWorkspace.GetItems Method (DataSpace)

Gets all the items in the specified data model.

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public ReadOnlyCollection<GlobalItem> GetItems(
	DataSpace dataSpace


Type: System.Data.Metadata.Edm.DataSpace

The conceptual model for which the list of items is needed.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<GlobalItem>
A collection of type ReadOnlyCollection<T> that contains all the items in the specified data model.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft