MetadataItemCollectionFactory.CreateStoreItemCollection Method (IEnumerable<XmlReader>, IList<EdmSchemaError>)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Data.Entity.Design
Assembly:  System.Data.Entity.Design (in System.Data.Entity.Design.dll)

public static StoreItemCollection CreateStoreItemCollection(
	IEnumerable<XmlReader> readers,
	out IList<EdmSchemaError> errors


Type: System.Collections.Generic.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).

Type: System.Collections.Generic.IList<EdmSchemaError>

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

Return Value

Type: System.Data.Metadata.Edm.StoreItemCollection

A StoreItemCollection that provides a list of errors and warnings.

.NET Framework
Available since 3.5
Return to top