Επεξεργασία

Κοινή χρήση μέσω


MetadataWorkspace.GetItems Method

Definition

Overloads

GetItems(DataSpace)

Gets all the items in the specified data model.

GetItems<T>(DataSpace)

Gets all the items in the specified data model.

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>
Public Function GetItems (dataSpace As DataSpace) As ReadOnlyCollection(Of GlobalItem)

Parameters

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

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)
Public Function GetItems(Of T As GlobalItem) (dataSpace As DataSpace) As ReadOnlyCollection(Of T)

Type Parameters

T

The type returned by the method.

Parameters

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