StorageMappingItemCollection Constructor

 

Initializes a new instance of the StorageMappingItemCollection class.

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

NameDescription
System_CAPS_pubmethodStorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>)

Initializes a new instance of the StorageMappingItemCollection class using the specified EdmItemCollection, StoreItemCollection and XML readers.

System_CAPS_pubmethodStorageMappingItemCollection(EdmItemCollection, StoreItemCollection, String[])

Initializes a new instance of the StorageMappingItemCollection class using the specified EdmItemCollection, StoreItemCollection and a collection of string indicating the metadata file paths.


StorageMappingItemCollection Constructor (EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>)

Initializes a new instance of the StorageMappingItemCollection class using the specified EdmItemCollection, StoreItemCollection and XML readers.

[SuppressMessageAttribute("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public StorageMappingItemCollection(
	EdmItemCollection edmCollection,
	StoreItemCollection storeCollection,
	IEnumerable<XmlReader> xmlReaders
)

Parameters

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

The EdmItemCollection that this mapping is to use.

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

The StoreItemCollection that this mapping is to use.

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

The XML readers that this mapping is to use.


StorageMappingItemCollection Constructor (EdmItemCollection, StoreItemCollection, String[])

Initializes a new instance of the StorageMappingItemCollection class using the specified EdmItemCollection, StoreItemCollection and a collection of string indicating the metadata file paths.

[SuppressMessageAttribute("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public StorageMappingItemCollection(
	EdmItemCollection edmCollection,
	StoreItemCollection storeCollection,
	params string[] filePaths
)

Parameters

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

The EdmItemCollection that this mapping is to use.

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

The StoreItemCollection that this mapping is to use.

filePaths
Type: System.String[]

The file paths that this mapping is to use.