Export (0) Print
Expand All

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

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

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

public static EdmItemCollection CreateEdmItemCollection(
	IEnumerable<XmlReader> readers,
	out IList<EdmSchemaError> errors
)

Parameters

readers
Type: System.Collections.Generic.IEnumerable<XmlReader>

An IEnumerable of XmlReader that contains the metadata files.

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

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

Return Value

Type: System.Data.Metadata.Edm.EdmItemCollection
An EdmItemCollection that contains the specified metadata.

.NET Framework

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