MetadataItemCollectionFactory.CreateStoreItemCollection Method

Definition

Constructs a StoreItemCollection and provides a list of errors and warnings.

Overloads

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

Constructs a StoreItemCollection and provides a list of errors and warnings.

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

Constructs a StoreItemCollection and provides a list of errors and warnings.

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

Constructs a StoreItemCollection and provides a list of errors and warnings.

public:
 static System::Data::Metadata::Edm::StoreItemCollection ^ CreateStoreItemCollection(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.StoreItemCollection CreateStoreItemCollection (System.Collections.Generic.IEnumerable<System.Xml.XmlReader> readers, out System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> errors);
static member CreateStoreItemCollection : seq<System.Xml.XmlReader> * IList -> System.Data.Metadata.Edm.StoreItemCollection
Public Shared Function CreateStoreItemCollection (readers As IEnumerable(Of XmlReader), ByRef errors As IList(Of EdmSchemaError)) As StoreItemCollection

Parameters

readers
IEnumerable<XmlReader>

A collection of XmlReader objects, each of which each reads from a storage model file. The storage model file is written in the store schema definition language (SSDL).

errors
IList<EdmSchemaError>

A list of errors that were encountered while loading the SSDL metadata.

Returns

A StoreItemCollection that provides a list of errors and warnings.

Applies to

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

Constructs a StoreItemCollection and provides a list of errors and warnings.

public:
 static System::Data::Metadata::Edm::StoreItemCollection ^ CreateStoreItemCollection(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.StoreItemCollection CreateStoreItemCollection (System.Collections.Generic.IEnumerable<System.Xml.XmlReader> readers, Version targetEntityFrameworkVersion, out System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> errors);
static member CreateStoreItemCollection : seq<System.Xml.XmlReader> * Version * IList -> System.Data.Metadata.Edm.StoreItemCollection
Public Shared Function CreateStoreItemCollection (readers As IEnumerable(Of XmlReader), targetEntityFrameworkVersion As Version, ByRef errors As IList(Of EdmSchemaError)) As StoreItemCollection

Parameters

readers
IEnumerable<XmlReader>

A collection of XmlReader objects, each of which each reads from a storage model file. The storage model file is written in the store schema definition language (SSDL).

targetEntityFrameworkVersion
Version

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

errors
IList<EdmSchemaError>

A list of errors that were encountered while loading the SSDL metadata.

Returns

A StoreItemCollection that provides a list of errors and warnings.

Applies to