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
- deploy
Type: Microsoft.Data.Schema.Build.ISchemaDeploymentController
The ISchemaDeploymentController object.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaCompareScriptService Class