Aracılığıyla paylaş


EntityViewGenerator.Validate Yöntem

Tanım

Aşırı Yüklemeler

Validate(StorageMappingItemCollection)

bir StorageMappingItemCollectiondoğrular.

Validate(StorageMappingItemCollection, Version)

bir StorageMappingItemCollectiondoğrular.

Validate(StorageMappingItemCollection)

Önemli

Bu API, CLS uyumlu değildir.

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)

Parametreler

Döndürülenler

Oluşturulan hataları içeren bir liste.

Öznitelikler

Şunlara uygulanır

Validate(StorageMappingItemCollection, Version)

Önemli

Bu API, CLS uyumlu değildir.

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)

Parametreler

targetEntityFrameworkVersion
Version

EntityFrameworkVersions Özelliği Entity Framework'ün hedeflenen sürümüne karşılık gelir.

Döndürülenler

Doğrulama hataları içeren bir liste.

Öznitelikler

Şunlara uygulanır