语言

StorageMappingItemCollection 构造函数

定义

重载

StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>)

使用指定的StorageMappingItemCollectionEdmItemCollection和 XML 读取器初始化类的新实例StoreItemCollection。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public StorageMappingItemCollection(System.Data.Entity.Core.Metadata.Edm.EdmItemCollection edmCollection, System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeCollection, System.Collections.Generic.IEnumerable<System.Xml.XmlReader> xmlReaders);
new System.Data.Entity.Core.Mapping.StorageMappingItemCollection : System.Data.Entity.Core.Metadata.Edm.EdmItemCollection * System.Data.Entity.Core.Metadata.Edm.StoreItemCollection * seq<System.Xml.XmlReader> -> System.Data.Entity.Core.Mapping.StorageMappingItemCollection
Public Sub New (edmCollection As EdmItemCollection, storeCollection As StoreItemCollection, xmlReaders As IEnumerable(Of XmlReader))

参数

edmCollection
EdmItemCollection

EdmItemCollection此映射要使用的映射。

storeCollection
StoreItemCollection

StoreItemCollection此映射要使用的映射。

xmlReaders
IEnumerable<XmlReader>

此映射要使用的 XML 读取器。

特性

适用于

StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, String[])

使用指定的StorageMappingItemCollection字符串EdmItemCollection集合和指示元数据文件路径的字符串集合初始化类的新实例StoreItemCollection。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public StorageMappingItemCollection(System.Data.Entity.Core.Metadata.Edm.EdmItemCollection edmCollection, System.Data.Entity.Core.Metadata.Edm.StoreItemCollection storeCollection, params string[] filePaths);
new System.Data.Entity.Core.Mapping.StorageMappingItemCollection : System.Data.Entity.Core.Metadata.Edm.EdmItemCollection * System.Data.Entity.Core.Metadata.Edm.StoreItemCollection * string[] -> System.Data.Entity.Core.Mapping.StorageMappingItemCollection
Public Sub New (edmCollection As EdmItemCollection, storeCollection As StoreItemCollection, ParamArray filePaths As String())

参数

edmCollection
EdmItemCollection

EdmItemCollection此映射要使用的映射。

storeCollection
StoreItemCollection

StoreItemCollection此映射要使用的映射。

filePaths
String[]

此映射要使用的文件路径。

特性

适用于