DeploymentProjectBuilder.OnLoadTargetModelModifiers Method
Override this method if your database schema provider implementation needs to perform additional modifications to the target model.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Function OnLoadTargetModelModifiers As IEnumerable(Of TargetModelModifier)
protected virtual IEnumerable<TargetModelModifier> OnLoadTargetModelModifiers()
protected:
virtual IEnumerable<TargetModelModifier^>^ OnLoadTargetModelModifiers()
abstract OnLoadTargetModelModifiers : unit -> IEnumerable<TargetModelModifier>
override OnLoadTargetModelModifiers : unit -> IEnumerable<TargetModelModifier>
protected function OnLoadTargetModelModifiers() : IEnumerable<TargetModelModifier>
Return Value
Type: System.Collections.Generic.IEnumerable<TargetModelModifier>
Remarks
You might override this method, for example, to implement preservation of user intent (for example, so rename operations are deployed as rename operations instead of DROP and ADD pairs).
.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.