MetadataExtensionMethods.GetPrimitiveTypes(EdmItemCollection, Version) 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.
Gets the list of primitive types for the given version of Edm.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::PrimitiveType ^> ^ GetPrimitiveTypes(System::Data::Metadata::Edm::EdmItemCollection ^ itemCollection, Version ^ edmVersion);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.PrimitiveType> GetPrimitiveTypes (this System.Data.Metadata.Edm.EdmItemCollection itemCollection, Version edmVersion);
static member GetPrimitiveTypes : System.Data.Metadata.Edm.EdmItemCollection * Version -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.PrimitiveType>
<Extension()>
Public Function GetPrimitiveTypes (itemCollection As EdmItemCollection, edmVersion As Version) As ReadOnlyCollection(Of PrimitiveType)
Parameters
- itemCollection
- EdmItemCollection
The item collection from which to retrieve the list of primitive types.
- edmVersion
- Version
The version of edm to use.
Returns
A collection of primitive types.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.