SchemaCompareScriptService.OnBeforeUpdateTargetDatabase Method
Called by the UpdateTargetDatabase method to provide the DatabaseSchemaProvider access to the parameter values before the target database has been updated.
Namespace: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
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
)
Parameters
- comparisonResult
Type: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
The ModelComparisonResult object.
- source
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The source DataSchemaModel object.
- target
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The target DataSchemaModel object.
- options
Type: Microsoft.Data.Schema.Build.SchemaDeploymentOptions
The SchemaDeploymentOptions object that represents the configuration values that are used to update the target database.
- plan
Type: Microsoft.Data.Schema.Build.DeploymentPlan
The DeploymentPlan object.
Remarks
The default implementation does nothing, but is available for derived classes.
.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