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

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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,
	Version targetEntityFrameworkVersion,
	out IList<EdmSchemaError> errors
)

Parameters

readers
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).

targetEntityFrameworkVersion
Type: System.Version

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

errors
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 4.0
Return to top
Show: