Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Chiamato dal metodo UpdateTargetDatabase per consentire a DatabaseSchemaProvider di accedere ai valori di parametro prima che il database di destinazione sia stato aggiornato.
Spazio dei nomi: Microsoft.Data.Schema.Tools.Compare.Schema
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- comparisonResult
Tipo: Microsoft.Data.Schema.SchemaModel.ModelComparisonResult
Oggetto ModelComparisonResult.
- source
Tipo: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
Oggetto DataSchemaModel di origine.
- target
Tipo: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
Oggetto DataSchemaModel di destinazione.
- options
Tipo: Microsoft.Data.Schema.Build.SchemaDeploymentOptions
Oggetto SchemaDeploymentOptions che rappresenta i valori di configurazione utilizzati per aggiornare il database di destinazione.
- plan
Tipo: Microsoft.Data.Schema.Build.DeploymentPlan
Oggetto DeploymentPlan.
Note
L'implementazione predefinita non esegue alcuna operazione, ma è disponibile per le classi derivate.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
SchemaCompareScriptService Classe