StorageMappingItemCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 StorageMappingItemCollection 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>) |
使用指定的 StorageMappingItemCollection、 EdmItemCollection 及 XML 讀取器初始化該類別的新實例StoreItemCollection。 |
| StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, String[]) |
使用指定的 StorageMappingItemCollection,EdmItemCollection初始化該類別的新實例StoreItemCollection,並初始化一組表示元資料檔案路徑的字串。 |
StorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>)
使用指定的 StorageMappingItemCollection、 EdmItemCollection 及 XML 讀取器初始化該類別的新實例StoreItemCollection。
public:
StorageMappingItemCollection(System::Data::Metadata::Edm::EdmItemCollection ^ edmCollection, System::Data::Metadata::Edm::StoreItemCollection ^ storeCollection, System::Collections::Generic::IEnumerable<System::Xml::XmlReader ^> ^ xmlReaders);
public StorageMappingItemCollection(System.Data.Metadata.Edm.EdmItemCollection edmCollection, System.Data.Metadata.Edm.StoreItemCollection storeCollection, System.Collections.Generic.IEnumerable<System.Xml.XmlReader> xmlReaders);
new System.Data.Mapping.StorageMappingItemCollection : System.Data.Metadata.Edm.EdmItemCollection * System.Data.Metadata.Edm.StoreItemCollection * seq<System.Xml.XmlReader> -> System.Data.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,並初始化一組表示元資料檔案路徑的字串。
public:
StorageMappingItemCollection(System::Data::Metadata::Edm::EdmItemCollection ^ edmCollection, System::Data::Metadata::Edm::StoreItemCollection ^ storeCollection, ... cli::array <System::String ^> ^ filePaths);
public StorageMappingItemCollection(System.Data.Metadata.Edm.EdmItemCollection edmCollection, System.Data.Metadata.Edm.StoreItemCollection storeCollection, params string[] filePaths);
new System.Data.Mapping.StorageMappingItemCollection : System.Data.Metadata.Edm.EdmItemCollection * System.Data.Metadata.Edm.StoreItemCollection * string[] -> System.Data.Mapping.StorageMappingItemCollection
Public Sub New (edmCollection As EdmItemCollection, storeCollection As StoreItemCollection, ParamArray filePaths As String())
參數
- edmCollection
- EdmItemCollection
這個 EdmItemCollection 映射就是要用來使用。
- storeCollection
- StoreItemCollection
這個 StoreItemCollection 映射就是要用來使用。
- filePaths
- String[]
這個映射所要使用的檔案路徑。