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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。