MetadataWorkspace.GetPrimitiveTypes(DataSpace) MetadataWorkspace.GetPrimitiveTypes(DataSpace) 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>

Parameters

dataSpace
DataSpace 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