共用方式為


SqlServerOutputClauseConvention.ProcessTriggerAdded 方法

定義

在將觸發程式新增至實體類型之後呼叫。

public virtual void ProcessTriggerAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder triggerBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder> context);
abstract member ProcessTriggerAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder> -> unit
override this.ProcessTriggerAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder> -> unit
Public Overridable Sub ProcessTriggerAdded (triggerBuilder As IConventionTriggerBuilder, context As IConventionContext(Of IConventionTriggerBuilder))

參數

triggerBuilder
IConventionTriggerBuilder

觸發程式的產生器。

context
IConventionContext<IConventionTriggerBuilder>

與慣例執行相關聯的其他資訊。

實作

適用於