Language

MetadataItemCollectionFactory.CreateStorageMappingItemCollection メソッド

定義

StorageMappingItemCollection オブジェクトのマッピング情報と、指定したXmlReaderおよびEdmItemCollection オブジェクトのメタデータからStoreItemCollectionを作成します。

オーバーロード

名前 説明
CreateStorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, IList<EdmSchemaError>)

StorageMappingItemCollectionを作成し、指定したEdmItemCollection、StoreItemCollection、およびXmlReader オブジェクトのコレクションに含まれるメタデータを読み込みます。

CreateStorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, Version, IList<EdmSchemaError>)

StorageMappingItemCollection オブジェクトのマッピング情報と、指定したXmlReaderおよびEdmItemCollection オブジェクトのメタデータからStoreItemCollectionを作成します。

CreateStorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, IList<EdmSchemaError>)

StorageMappingItemCollectionを作成し、指定したEdmItemCollection、StoreItemCollection、およびXmlReader オブジェクトのコレクションに含まれるメタデータを読み込みます。

public:
 static System::Data::Mapping::StorageMappingItemCollection ^ CreateStorageMappingItemCollection(System::Data::Metadata::Edm::EdmItemCollection ^ edmCollection, System::Data::Metadata::Edm::StoreItemCollection ^ storeCollection, System::Collections::Generic::IEnumerable<System::Xml::XmlReader ^> ^ readers, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ % errors);
public static System.Data.Mapping.StorageMappingItemCollection CreateStorageMappingItemCollection(System.Data.Metadata.Edm.EdmItemCollection edmCollection, System.Data.Metadata.Edm.StoreItemCollection storeCollection, System.Collections.Generic.IEnumerable<System.Xml.XmlReader> readers, out System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> errors);
static member CreateStorageMappingItemCollection : System.Data.Metadata.Edm.EdmItemCollection * System.Data.Metadata.Edm.StoreItemCollection * seq<System.Xml.XmlReader> * IList -> System.Data.Mapping.StorageMappingItemCollection
Public Shared Function CreateStorageMappingItemCollection (edmCollection As EdmItemCollection, storeCollection As StoreItemCollection, readers As IEnumerable(Of XmlReader), ByRef errors As IList(Of EdmSchemaError)) As StorageMappingItemCollection

パラメーター

edmCollection
EdmItemCollection

EdmItemCollection オブジェクト。

storeCollection
StoreItemCollection

StoreItemCollection オブジェクト。

readers
IEnumerable<XmlReader>

メタデータ ファイルを含むIEnumerableのXmlReader。

errors
IList<EdmSchemaError>

IListのEdmSchemaError。 StorageMappingItemCollectionの作成時に生成されたエラーが一覧に追加されます。

返品

指定したメタデータを含む StorageMappingItemCollection 。

適用対象

CreateStorageMappingItemCollection(EdmItemCollection, StoreItemCollection, IEnumerable<XmlReader>, Version, IList<EdmSchemaError>)

StorageMappingItemCollection オブジェクトのマッピング情報と、指定したXmlReaderおよびEdmItemCollection オブジェクトのメタデータからStoreItemCollectionを作成します。

public:
 static System::Data::Mapping::StorageMappingItemCollection ^ CreateStorageMappingItemCollection(System::Data::Metadata::Edm::EdmItemCollection ^ edmCollection, System::Data::Metadata::Edm::StoreItemCollection ^ storeCollection, System::Collections::Generic::IEnumerable<System::Xml::XmlReader ^> ^ readers, Version ^ targetEntityFrameworkVersion, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ % errors);
public static System.Data.Mapping.StorageMappingItemCollection CreateStorageMappingItemCollection(System.Data.Metadata.Edm.EdmItemCollection edmCollection, System.Data.Metadata.Edm.StoreItemCollection storeCollection, System.Collections.Generic.IEnumerable<System.Xml.XmlReader> readers, Version targetEntityFrameworkVersion, out System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> errors);
static member CreateStorageMappingItemCollection : System.Data.Metadata.Edm.EdmItemCollection * System.Data.Metadata.Edm.StoreItemCollection * seq<System.Xml.XmlReader> * Version * IList -> System.Data.Mapping.StorageMappingItemCollection
Public Shared Function CreateStorageMappingItemCollection (edmCollection As EdmItemCollection, storeCollection As StoreItemCollection, readers As IEnumerable(Of XmlReader), targetEntityFrameworkVersion As Version, ByRef errors As IList(Of EdmSchemaError)) As StorageMappingItemCollection

パラメーター

edmCollection
EdmItemCollection

EdmItemCollection オブジェクト。

storeCollection
StoreItemCollection

StoreItemCollection オブジェクト。

readers
IEnumerable<XmlReader>

メタデータ ファイルを含むIEnumerableのXmlReader。

targetEntityFrameworkVersion
Version

対象となるバージョンの Entity Framework に対応する EntityFrameworkVersions のプロパティ。

errors
IList<EdmSchemaError>

IListのEdmSchemaError。 StorageMappingItemCollectionの作成時に生成されたエラーが一覧に追加されます。

返品

指定したメタデータを含む StorageMappingItemCollection 。

適用対象