Edit

Share via


MetadataWorkspace.GetPrimitiveTypes(DataSpace) Method

Definition

Returns the list of primitive types in the specified data model.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::PrimitiveType ^> ^ GetPrimitiveTypes(System::Data::Metadata::Edm::DataSpace dataSpace);
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.PrimitiveType> GetPrimitiveTypes (System.Data.Metadata.Edm.DataSpace dataSpace);
member this.GetPrimitiveTypes : System.Data.Metadata.Edm.DataSpace -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.PrimitiveType>
Public Function GetPrimitiveTypes (dataSpace As DataSpace) As ReadOnlyCollection(Of PrimitiveType)

Parameters

dataSpace
DataSpace

The data model for which you need the list of primitive types.

Returns

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

Applies to