DeploymentPlanGenerator.OnProcessProposal 方法

由 Visual Studio 部署计划生成引擎调用,以允许代码在比较模型之前扩展功能。

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

语法

声明
Protected Overridable Function OnProcessProposal ( _
    targetOperation As TargetModelOperation _
) As Boolean
protected virtual bool OnProcessProposal(
    TargetModelOperation targetOperation
)
protected:
virtual bool OnProcessProposal(
    TargetModelOperation^ targetOperation
)
abstract OnProcessProposal : 
        targetOperation:TargetModelOperation -> bool 
override OnProcessProposal : 
        targetOperation:TargetModelOperation -> bool 
protected function OnProcessProposal(
    targetOperation : TargetModelOperation
) : boolean

参数

返回值

类型:System.Boolean
默认实现始终返回 false。

备注

此方法的目的是根据需求修改部署计划,以保留重构意图并根据您提供的逻辑减少数据处理重载。

.NET Framework 安全性

请参见

参考

DeploymentPlanGenerator 类

Microsoft.Data.Schema.Build 命名空间

TargetModelOperation