MetadataWorkspace.GetPrimitiveTypes Method (DataSpace)

 

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

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public ReadOnlyCollection<PrimitiveType> GetPrimitiveTypes(
	DataSpace dataSpace
)

Parameters

dataSpace
Type: System.Data.Metadata.Edm.DataSpace

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

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<PrimitiveType>

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

.NET Framework
Available since 3.5
Return to top
Show: