Partilhar via


Método SchemaCompareScriptService.OnBeforeUpdateTargetDatabase

Chamado pelo UpdateTargetDatabase método para fornecer a DatabaseSchemaProvider o acesso para os valores de parâmetro antes do banco de dados de destino foi atualizado.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (em Microsoft.Data.Schema.Tools.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Comentários

A implementação padrão não faz nada, mas está disponível para classes derivadas.

Segurança do .NET Framework

Consulte também

Referência

SchemaCompareScriptService Classe

Namespace Microsoft.Data.Schema.Tools.Compare.Schema

UpdateTargetDatabase

DatabaseSchemaProvider

ModelComparisonResult

DataSchemaModel

SchemaDeploymentOptions

DeploymentPlan