StorageMappingItemCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>)
使用指定的StorageMappingItemCollection、EdmItemCollection 和 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[]
這個對應要使用的檔案路徑。
- 屬性