MetadataWorkspace.GetPrimitiveTypes(DataSpace) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.