SchemaCompareScriptService.OnBeforeUpdateTargetDatabase 方法

UpdateTargetDatabase 方法调用,以便在更新目标数据库前通过 DatabaseSchemaProvider 访问参数值。

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

语法

声明
Protected Overridable Sub OnBeforeUpdateTargetDatabase ( _
    comparisonResult As ModelComparisonResult, _
    source As DataSchemaModel, _
    target As DataSchemaModel, _
    options As SchemaDeploymentOptions, _
    plan As DeploymentPlan _
)
protected virtual void OnBeforeUpdateTargetDatabase(
    ModelComparisonResult comparisonResult,
    DataSchemaModel source,
    DataSchemaModel target,
    SchemaDeploymentOptions options,
    DeploymentPlan plan
)
protected:
virtual void OnBeforeUpdateTargetDatabase(
    ModelComparisonResult^ comparisonResult, 
    DataSchemaModel^ source, 
    DataSchemaModel^ target, 
    SchemaDeploymentOptions^ options, 
    DeploymentPlan^ plan
)
abstract OnBeforeUpdateTargetDatabase : 
        comparisonResult:ModelComparisonResult * 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        options:SchemaDeploymentOptions * 
        plan:DeploymentPlan -> unit 
override OnBeforeUpdateTargetDatabase : 
        comparisonResult:ModelComparisonResult * 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        options:SchemaDeploymentOptions * 
        plan:DeploymentPlan -> unit 
protected function OnBeforeUpdateTargetDatabase(
    comparisonResult : ModelComparisonResult, 
    source : DataSchemaModel, 
    target : DataSchemaModel, 
    options : SchemaDeploymentOptions, 
    plan : DeploymentPlan
)

参数

备注

默认实现不执行任何操作,但可用于派生的类。

.NET Framework 安全性

请参见

参考

SchemaCompareScriptService 类

Microsoft.Data.Schema.Tools.Compare.Schema 命名空间

UpdateTargetDatabase

DatabaseSchemaProvider

ModelComparisonResult

DataSchemaModel

SchemaDeploymentOptions

DeploymentPlan