Edit

Share via


MetadataItemCollectionFactory.CreateEdmItemCollection Method

Definition

Creates an EdmItemCollection and loads the metadata that is contained in the IEnumerable of XmlReader.

Overloads

CreateEdmItemCollection(IEnumerable<XmlReader>, IList<EdmSchemaError>)

Creates an EdmItemCollection and loads the metadata that is contained in the IEnumerable of XmlReader.

CreateEdmItemCollection(IEnumerable<XmlReader>, Version, IList<EdmSchemaError>)

Creates an EdmItemCollection and loads the metadata that is contained in the IEnumerable of XmlReader.

CreateEdmItemCollection(IEnumerable<XmlReader>, IList<EdmSchemaError>)

Creates an EdmItemCollection and loads the metadata that is contained in the IEnumerable of XmlReader.

public:
 static System::Data::Metadata::Edm::EdmItemCollection ^ CreateEdmItemCollection(System::Collections::Generic::IEnumerable<System::Xml::XmlReader ^> ^ readers, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ % errors);
public static System.Data.Metadata.Edm.EdmItemCollection CreateEdmItemCollection (System.Collections.Generic.IEnumerable<System.Xml.XmlReader> readers, out System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> errors);
static member CreateEdmItemCollection : seq<System.Xml.XmlReader> * IList -> System.Data.Metadata.Edm.EdmItemCollection
Public Shared Function CreateEdmItemCollection (readers As IEnumerable(Of XmlReader), ByRef errors As IList(Of EdmSchemaError)) As EdmItemCollection

Parameters

readers
IEnumerable<XmlReader>

An IEnumerable of XmlReader that contains the metadata files.

errors
IList<EdmSchemaError>

An IList of EdmSchemaError. Any errors that are generated during the EdmItemCollection creation are added to the list.

Returns

An EdmItemCollection that contains the specified metadata.

Applies to

CreateEdmItemCollection(IEnumerable<XmlReader>, Version, IList<EdmSchemaError>)

Creates an EdmItemCollection and loads the metadata that is contained in the IEnumerable of XmlReader.

public:
 static System::Data::Metadata::Edm::EdmItemCollection ^ CreateEdmItemCollection(System::Collections::Generic::IEnumerable<System::Xml::XmlReader ^> ^ readers, Version ^ targetEntityFrameworkVersion, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ % errors);
public static System.Data.Metadata.Edm.EdmItemCollection CreateEdmItemCollection (System.Collections.Generic.IEnumerable<System.Xml.XmlReader> readers, Version targetEntityFrameworkVersion, out System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> errors);
static member CreateEdmItemCollection : seq<System.Xml.XmlReader> * Version * IList -> System.Data.Metadata.Edm.EdmItemCollection
Public Shared Function CreateEdmItemCollection (readers As IEnumerable(Of XmlReader), targetEntityFrameworkVersion As Version, ByRef errors As IList(Of EdmSchemaError)) As EdmItemCollection

Parameters

readers
IEnumerable<XmlReader>

An IEnumerable of XmlReader that contains the metadata files.

targetEntityFrameworkVersion
Version

The property of EntityFrameworkVersions that corresponds to the targeted version of the Entity Framework.

errors
IList<EdmSchemaError>

An IList of EdmSchemaError. Any errors that are generated during the EdmItemCollection creation are added to the list.

Returns

An EdmItemCollection that contains the specified metadata.

Applies to