Compartir a través de


SchemaCompareScriptService.OnStartGeneratePlan (Método)

Lo llama el método GenerateUpdatePlan para proporcionar acceso a DatabaseSchemaProvider a los valores de parámetro iniciales proporcionados antes de generar el plan de actualización.

Espacio de nombres:  Microsoft.Data.Schema.Tools.Compare.Schema
Ensamblado:  Microsoft.Data.Schema.Tools (en Microsoft.Data.Schema.Tools.dll)

Sintaxis

'Declaración
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

Comentarios

La implementación predeterminada no hace nada, pero puede invalidar este método para modificar los parámetros de entrada al método GenerateUpdatePlan antes de que se genere el plan.

Seguridad de .NET Framework

Vea también

Referencia

SchemaCompareScriptService Clase

Microsoft.Data.Schema.Tools.Compare.Schema (Espacio de nombres)

GenerateUpdatePlan

DatabaseSchemaProvider

ModelComparisonResult

DataSchemaModel

IModelElement

ISchemaCompareModelProvider

SchemaDeploymentOptions