Compartir a través de


EntityViewGenerator.Validate Método

Definición

Sobrecargas

Validate(StorageMappingItemCollection)

Valida una StorageMappingItemCollection.

Validate(StorageMappingItemCollection, Version)

Valida una StorageMappingItemCollection.

Validate(StorageMappingItemCollection)

Importante

Esta API no es conforme a CLS.

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)

Parámetros

mappingCollection
StorageMappingItemCollection

StorageMappingItemCollection que se va a validar.

Devoluciones

Una lista que contiene los errores generados.

Atributos

Se aplica a

Validate(StorageMappingItemCollection, Version)

Importante

Esta API no es conforme a CLS.

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)

Parámetros

mappingCollection
StorageMappingItemCollection

StorageMappingItemCollection que se va a validar.

targetEntityFrameworkVersion
Version

Propiedad de EntityFrameworkVersions que corresponde a la versión de destino de Entity Framework.

Devoluciones

Una lista que contiene cualquier error de validación.

Atributos

Se aplica a