MetadataWorkspace.GetItems MetadataWorkspace.GetItems MetadataWorkspace.GetItems Method

Definition

Overloads

GetItems(DataSpace) GetItems(DataSpace) GetItems(DataSpace)

Gets all the items in the specified data model.

GetItems<T>(DataSpace) GetItems<T>(DataSpace) GetItems<T>(DataSpace)

Gets all the items in the specified data model.

GetItems(DataSpace) GetItems(DataSpace) GetItems(DataSpace)

Gets all the items in the specified data model.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::GlobalItem ^> ^ GetItems(System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.GlobalItem> GetItems (System.Data.Metadata.Edm.DataSpace dataSpace);
member this.GetItems : System.Data.Metadata.Edm.DataSpace -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.GlobalItem>

Parameters

dataSpace
DataSpace DataSpace DataSpace

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

Returns

A collection of type ReadOnlyCollection<T> that contains all the items in the specified data model.

GetItems<T>(DataSpace) GetItems<T>(DataSpace) GetItems<T>(DataSpace)

Gets all the items in the specified data model.

public:
generic <typename T>
 where T : System::Data::Metadata::Edm::GlobalItem System::Collections::ObjectModel::ReadOnlyCollection<T> ^ GetItems(System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Collections.ObjectModel.ReadOnlyCollection<T> GetItems<T> (System.Data.Metadata.Edm.DataSpace dataSpace) where T : System.Data.Metadata.Edm.GlobalItem;
member this.GetItems : System.Data.Metadata.Edm.DataSpace -> System.Collections.ObjectModel.ReadOnlyCollection<'T (requires 'T :> System.Data.Metadata.Edm.GlobalItem)> (requires 'T :> System.Data.Metadata.Edm.GlobalItem)

Type Parameters

T

The type returned by the method.

Parameters

dataSpace
DataSpace DataSpace DataSpace

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

Returns

A collection of type ReadOnlyCollection<T> that contains all the items in the specified data model.

Applies to