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
Available since 3.5
Return to top
Show: