Condividi tramite


Metodo SchemaDeployment.OnVerifyModels

Chiamato durante l'esecuzione della distribuzione dopo che i modelli di schema sono stati preparati per la distribuzione per consentire alle classi personalizzate di eseguire un'ulteriore elaborazione per un oggetto DatabaseSchemaProvider personalizzato.

Spazio dei nomi:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Sintassi

'Dichiarazione
Protected Overridable Function OnVerifyModels As IList(Of DataSchemaError)
protected virtual IList<DataSchemaError> OnVerifyModels()
protected:
virtual IList<DataSchemaError^>^ OnVerifyModels()
abstract OnVerifyModels : unit -> IList<DataSchemaError> 
override OnVerifyModels : unit -> IList<DataSchemaError> 
protected function OnVerifyModels() : IList<DataSchemaError>

Valore restituito

Tipo: System.Collections.Generic.IList<DataSchemaError>
Elenco di oggetti DataSchemaError che rappresentano gli errori rilevati durante il processo di verifica dei modelli.L'implementazione predefinita restituisce un elenco vuoto.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SchemaDeployment Classe

Spazio dei nomi Microsoft.Data.Schema.Build

DatabaseSchemaProvider

DataSchemaError