StorageMappingItemCollection.Create Method (EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, IList<String>, IList<EdmSchemaError>)

 
Namespace:   System.Data.Entity.Core.Mapping
Assembly:  EntityFramework (in EntityFramework.dll)

public static StorageMappingItemCollection Create(
	EdmItemCollection edmItemCollection,
	StoreItemCollection storeItemCollection,
	IEnumerable<XmlReader> xmlReaders,
	IList<string> filePaths,
	out IList<EdmSchemaError> errors
)

Parameters

edmItemCollection
Type: System.Data.Entity.Core.Metadata.Edm.EdmItemCollection

The EDM metadata collection to map. Must not be null.

storeItemCollection
Type: System.Data.Entity.Core.Metadata.Edm.StoreItemCollection

The store metadata collection to map. Must not be null.

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

The MSL artifacts to load. Must not be null.

filePaths
Type: System.Collections.Generic.IList<String>

The paths to MSL artifacts. Used in error messages. Can be null in which case the base Uri of the XmlReader will be used as a path.

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

The collection of errors encountered while loading.

Return Value

Type: System.Data.Entity.Core.Mapping.StorageMappingItemCollection

The P:System.Data.Entity.Core.Mapping.StorageMappingItemCollection.EdmItemCollection instance if no errors encountered. Otherwise null.