EntityViewGenerator.Validate Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Valide un StorageMappingItemCollection.
Surcharges
| Validate(StorageMappingItemCollection) |
Valide un StorageMappingItemCollection. |
| Validate(StorageMappingItemCollection, Version) |
Valide un StorageMappingItemCollection. |
Validate(StorageMappingItemCollection)
Important
Cette API n’est pas conforme CLS.
Valide un StorageMappingItemCollection.
public:
static System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ Validate(System::Data::Mapping::StorageMappingItemCollection ^ mappingCollection);
public static System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> Validate(System.Data.Mapping.StorageMappingItemCollection mappingCollection);
[System.CLSCompliant(false)]
public static System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> Validate(System.Data.Mapping.StorageMappingItemCollection mappingCollection);
static member Validate : System.Data.Mapping.StorageMappingItemCollection -> System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError>
[<System.CLSCompliant(false)>]
static member Validate : System.Data.Mapping.StorageMappingItemCollection -> System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError>
Public Shared Function Validate (mappingCollection As StorageMappingItemCollection) As IList(Of EdmSchemaError)
Paramètres
- mappingCollection
- StorageMappingItemCollection
StorageMappingItemCollection à valider.
Retours
Liste qui contient des erreurs générées.
- Attributs
S’applique à
Validate(StorageMappingItemCollection, Version)
Important
Cette API n’est pas conforme CLS.
Valide un StorageMappingItemCollection.
public:
static System::Collections::Generic::IList<System::Data::Metadata::Edm::EdmSchemaError ^> ^ Validate(System::Data::Mapping::StorageMappingItemCollection ^ mappingCollection, Version ^ targetEntityFrameworkVersion);
[System.CLSCompliant(false)]
public static System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError> Validate(System.Data.Mapping.StorageMappingItemCollection mappingCollection, Version targetEntityFrameworkVersion);
[<System.CLSCompliant(false)>]
static member Validate : System.Data.Mapping.StorageMappingItemCollection * Version -> System.Collections.Generic.IList<System.Data.Metadata.Edm.EdmSchemaError>
Public Shared Function Validate (mappingCollection As StorageMappingItemCollection, targetEntityFrameworkVersion As Version) As IList(Of EdmSchemaError)
Paramètres
- mappingCollection
- StorageMappingItemCollection
StorageMappingItemCollection à valider.
- targetEntityFrameworkVersion
- Version
Propriété de EntityFrameworkVersions qui correspond à la version ciblée d'Entity Framework.
Retours
Liste qui contient des erreurs de validation.
- Attributs