EntityViewGenerator.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates a StorageMappingItemCollection.
Overloads
Validate(StorageMappingItemCollection) |
Validates a StorageMappingItemCollection. |
Validate(StorageMappingItemCollection, Version) |
Validates a StorageMappingItemCollection. |
Validate(StorageMappingItemCollection)
Important
This API is not CLS-compliant.
Validates a 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
The StorageMappingItemCollection to be validated.
Returns
A list that contains any generated errors.
- Attributes
Applies to
Validate(StorageMappingItemCollection, Version)
Important
This API is not CLS-compliant.
Validates a 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
The StorageMappingItemCollection to be validated.
- targetEntityFrameworkVersion
- Version
The property of EntityFrameworkVersions that corresponds to the targeted version of the Entity Framework.
Returns
A list that contains any validation errors.
- Attributes