Export (0) Print
Expand All

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

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft