Bagikan melalui


SchemaCompareScriptService.OnBeforeGeneratePlan Method

Called by the GenerateUpdatePlan method to provide the DatabaseSchemaProvider access to the deployment controller before the update plan has been generated.

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

Syntax

'Declaration
Protected Overridable Sub OnBeforeGeneratePlan ( _
    deploy As ISchemaDeploymentController _
)
protected virtual void OnBeforeGeneratePlan(
    ISchemaDeploymentController deploy
)
protected:
virtual void OnBeforeGeneratePlan(
    ISchemaDeploymentController^ deploy
)
abstract OnBeforeGeneratePlan : 
        deploy:ISchemaDeploymentController -> unit 
override OnBeforeGeneratePlan : 
        deploy:ISchemaDeploymentController -> unit 
protected function OnBeforeGeneratePlan(
    deploy : ISchemaDeploymentController
)

Parameters

Remarks

This method is called after the OnStartGeneratePlan method is called, and after the deployment controller is created.

This method is not called if the ConnectionType property value of the target ISchemaCompareModelProvider() is Project().

.NET Framework Security

See Also

Reference

SchemaCompareScriptService Class

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

GenerateUpdatePlan

ISchemaDeploymentController

OnStartGeneratePlan