DeploymentPlanGenerator.OnProcessProposal Method
Called by the Visual Studio deployment plan generation engine to enable your code to extend the functionality before comparing the model.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Function OnProcessProposal ( _
targetOperation As TargetModelOperation _
) As Boolean
protected virtual bool OnProcessProposal(
TargetModelOperation targetOperation
)
protected:
virtual bool OnProcessProposal(
TargetModelOperation^ targetOperation
)
abstract OnProcessProposal :
targetOperation:TargetModelOperation -> bool
override OnProcessProposal :
targetOperation:TargetModelOperation -> bool
protected function OnProcessProposal(
targetOperation : TargetModelOperation
) : boolean
Parameters
- targetOperation
Type: Microsoft.Data.Schema.Build.TargetModelOperation
Return Value
Type: System.Boolean
The default implementation always returns false.
Remarks
The purpose of this method is to modify the deployment plan as required to preserve the intent of refactoring, and to reduce data processing overload based on logic that you provide.
.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.