ターゲット データベースが更新される前に、DatabaseSchemaProvider にパラメーター値へのアクセスを提供するために UpdateTargetDatabase メソッドによって呼び出されます。
名前空間: Microsoft.Data.Schema.Tools.Compare.Schema
アセンブリ: Microsoft.Data.Schema.Tools (Microsoft.Data.Schema.Tools.dll 内)
構文
'宣言
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
)
パラメーター
- comparisonResult
型: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
ModelComparisonResult オブジェクト。
- source
型: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
ソース DataSchemaModel オブジェクト。
- target
型: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
ターゲット DataSchemaModel オブジェクト。
- options
型: Microsoft.Data.Schema.Build.SchemaDeploymentOptions
ターゲット データベースの更新に使用される構成値を表す SchemaDeploymentOptions オブジェクト。
- plan
型: Microsoft.Data.Schema.Build.DeploymentPlan
DeploymentPlan オブジェクト。
解説
既定の実装は、何も実行しませんが、派生クラス対して使用できます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
SchemaCompareScriptService クラス