EntityViewGenerator.Validate Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Validerar en StorageMappingItemCollection.
Överlagringar
| Name | Description |
|---|---|
| Validate(StorageMappingItemCollection) |
Validerar en StorageMappingItemCollection. |
| Validate(StorageMappingItemCollection, Version) |
Validerar en StorageMappingItemCollection. |
Validate(StorageMappingItemCollection)
Viktigt!
Detta API uppfyller inte CLS.
Validerar en 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)
Parametrar
- mappingCollection
- StorageMappingItemCollection
Som StorageMappingItemCollection ska verifieras.
Returer
En lista som innehåller eventuella genererade fel.
- Attribut
Gäller för
Validate(StorageMappingItemCollection, Version)
Viktigt!
Detta API uppfyller inte CLS.
Validerar en 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)
Parametrar
- mappingCollection
- StorageMappingItemCollection
Som StorageMappingItemCollection ska verifieras.
- targetEntityFrameworkVersion
- Version
Egenskapen för EntityFrameworkVersions den motsvarar målversionen av Entity Framework.
Returer
En lista som innehåller eventuella verifieringsfel.
- Attribut