Compartilhar via


Método SchemaCompareScriptService.OnStartGeneratePlan

Chamado pelo GenerateUpdatePlan método para fornecer a DatabaseSchemaProvider o acesso para os valores de parâmetro fornecido iniciais antes do plano de atualização é gerado.

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

Sintaxe

'Declaração
Protected Overridable Sub OnStartGeneratePlan ( _
    comparisonResult As ModelComparisonResult, _
    source As DataSchemaModel, _
    target As DataSchemaModel, _
    excludedElements As HashSet(Of IModelElement), _
    sourceModelProvider As ISchemaCompareModelProvider, _
    targetModelProvider As ISchemaCompareModelProvider, _
    options As SchemaDeploymentOptions _
)
protected virtual void OnStartGeneratePlan(
    ModelComparisonResult comparisonResult,
    DataSchemaModel source,
    DataSchemaModel target,
    HashSet<IModelElement> excludedElements,
    ISchemaCompareModelProvider sourceModelProvider,
    ISchemaCompareModelProvider targetModelProvider,
    SchemaDeploymentOptions options
)
protected:
virtual void OnStartGeneratePlan(
    ModelComparisonResult^ comparisonResult, 
    DataSchemaModel^ source, 
    DataSchemaModel^ target, 
    HashSet<IModelElement^>^ excludedElements, 
    ISchemaCompareModelProvider^ sourceModelProvider, 
    ISchemaCompareModelProvider^ targetModelProvider, 
    SchemaDeploymentOptions^ options
)
abstract OnStartGeneratePlan : 
        comparisonResult:ModelComparisonResult * 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        excludedElements:HashSet<IModelElement> * 
        sourceModelProvider:ISchemaCompareModelProvider * 
        targetModelProvider:ISchemaCompareModelProvider * 
        options:SchemaDeploymentOptions -> unit 
override OnStartGeneratePlan : 
        comparisonResult:ModelComparisonResult * 
        source:DataSchemaModel * 
        target:DataSchemaModel * 
        excludedElements:HashSet<IModelElement> * 
        sourceModelProvider:ISchemaCompareModelProvider * 
        targetModelProvider:ISchemaCompareModelProvider * 
        options:SchemaDeploymentOptions -> unit 
protected function OnStartGeneratePlan(
    comparisonResult : ModelComparisonResult, 
    source : DataSchemaModel, 
    target : DataSchemaModel, 
    excludedElements : HashSet<IModelElement>, 
    sourceModelProvider : ISchemaCompareModelProvider, 
    targetModelProvider : ISchemaCompareModelProvider, 
    options : SchemaDeploymentOptions
)

Parâmetros

Comentários

A implementação padrão não faz nada, mas você pode substituir esse método para modificar os parâmetros de entrada para o GenerateUpdatePlan método antes que o plano seja gerado.

Segurança do .NET Framework

Consulte também

Referência

SchemaCompareScriptService Classe

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

GenerateUpdatePlan

DatabaseSchemaProvider

ModelComparisonResult

DataSchemaModel

IModelElement

ISchemaCompareModelProvider

SchemaDeploymentOptions