EntityViewGenerator.Validate Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Valideert een StorageMappingItemCollection.
Overloads
| Name | Description |
|---|---|
| Validate(StorageMappingItemCollection) |
Valideert een StorageMappingItemCollection. |
| Validate(StorageMappingItemCollection, Version) |
Valideert een StorageMappingItemCollection. |
Validate(StorageMappingItemCollection)
Belangrijk
Deze API is niet CLS-conform.
Valideert een 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)
Parameters
- mappingCollection
- StorageMappingItemCollection
De StorageMappingItemCollection te valideren.
Retouren
Een lijst met gegenereerde fouten.
- Kenmerken
Van toepassing op
Validate(StorageMappingItemCollection, Version)
Belangrijk
Deze API is niet CLS-conform.
Valideert een 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)
Parameters
- mappingCollection
- StorageMappingItemCollection
De StorageMappingItemCollection te valideren.
- targetEntityFrameworkVersion
- Version
De eigenschap daarvan EntityFrameworkVersions komt overeen met de doelversie van entity framework.
Retouren
Een lijst met validatiefouten.
- Kenmerken