SchemaDeployment.OnVerifyModels 方法

在已为部署准备架构模型之后在部署执行期间调用,以允许自定义类对自定义 DatabaseSchemaProvider 进行额外处理。

命名空间:  Microsoft.Data.Schema.Build
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
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>

返回值

类型:System.Collections.Generic.IList<DataSchemaError>
表示在模型验证过程中遇到的错误的 DataSchemaError 对象的列表。默认实现返回一个空的列表。

.NET Framework 安全性

请参见

参考

SchemaDeployment 类

Microsoft.Data.Schema.Build 命名空间

DatabaseSchemaProvider

DataSchemaError