Udostępnij za pośrednictwem


EntityViewGenerator.Validate Metoda

Definicja

Weryfikuje element StorageMappingItemCollection.

Przeciążenia

Validate(StorageMappingItemCollection)

Weryfikuje element StorageMappingItemCollection.

Validate(StorageMappingItemCollection, Version)

Weryfikuje element StorageMappingItemCollection.

Validate(StorageMappingItemCollection)

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Weryfikuje element 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)

Parametry

mappingCollection
StorageMappingItemCollection

Element StorageMappingItemCollection do zweryfikowania.

Zwraca

Lista zawierająca wszelkie wygenerowane błędy.

Atrybuty

Dotyczy

Validate(StorageMappingItemCollection, Version)

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Weryfikuje element 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)

Parametry

mappingCollection
StorageMappingItemCollection

Element StorageMappingItemCollection do zweryfikowania.

targetEntityFrameworkVersion
Version

Właściwość tego EntityFrameworkVersions elementu odpowiada docelowej wersji programu Entity Framework.

Zwraca

Lista zawierająca błędy weryfikacji.

Atrybuty

Dotyczy