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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.