MetadataItemCollectionFactory.CreateStorageMappingItemCollection Metodo

Definizione

Crea un StorageMappingItemCollection oggetto dalle informazioni di mapping negli XmlReader oggetti e nei metadati negli oggetti e EdmItemCollection specificatiStoreItemCollection.

Overload

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

Crea un StorageMappingItemCollection oggetto e carica i metadati contenuti nell'insieme , EdmItemCollectione specificato StoreItemCollectiondi XmlReader oggetti .

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

Parametri

edmCollection
EdmItemCollection

Oggetto EdmItemCollection.

storeCollection
StoreItemCollection

Un oggetto StoreItemCollection.

readers
IEnumerable<XmlReader>

Oggetto IEnumerable contenente i file di XmlReader metadati.

errors
IList<EdmSchemaError>

Oggetto IList di EdmSchemaError. Eventuali errori generati durante la StorageMappingItemCollection creazione vengono aggiunti all'elenco.

Valori restituiti

Oggetto StorageMappingItemCollection contenente i metadati specificati.

Si applica a

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

Crea un StorageMappingItemCollection oggetto dalle informazioni di mapping negli XmlReader oggetti e nei metadati negli oggetti e EdmItemCollection specificatiStoreItemCollection.

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

Parametri

edmCollection
EdmItemCollection

Oggetto EdmItemCollection.

storeCollection
StoreItemCollection

Un oggetto StoreItemCollection.

readers
IEnumerable<XmlReader>

Oggetto IEnumerable contenente i file di XmlReader metadati.

targetEntityFrameworkVersion
Version

Proprietà di EntityFrameworkVersions che corrisponde alla versione di destinazione di Entity Framework.

errors
IList<EdmSchemaError>

Oggetto IList di EdmSchemaError. Eventuali errori generati durante la StorageMappingItemCollection creazione vengono aggiunti all'elenco.

Valori restituiti

Oggetto StorageMappingItemCollection contenente i metadati specificati.

Si applica a