Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MetadataItemCollectionFactory.CreateStorageMappingItemCollection Method (EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, IList<EdmSchemaError>)

Creates a StorageMappingItemCollection and loads the metadata that is contained in the specified EdmItemCollection, StoreItemCollection, and collection of XmlReader objects.

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

public static StorageMappingItemCollection CreateStorageMappingItemCollection(
	EdmItemCollection edmCollection,
	StoreItemCollection storeCollection,
	IEnumerable<XmlReader> readers,
	out IList<EdmSchemaError> errors
)

Parameters

edmCollection
Type: System.Data.Metadata.Edm.EdmItemCollection

An EdmItemCollection object.

storeCollection
Type: System.Data.Metadata.Edm.StoreItemCollection

A StoreItemCollection object.

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

An IEnumerable of XmlReader containing the metadata files.

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

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

Return Value

Type: System.Data.Mapping.StorageMappingItemCollection
A StorageMappingItemCollection that contains the specified metadata.

.NET Framework

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