共用方式為


ITriggerRemovedConvention.ProcessTriggerRemoved 方法

定義

從實體類型中移除觸發程式之後呼叫。

public void ProcessTriggerRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger trigger, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger> context);
abstract member ProcessTriggerRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionTrigger> -> unit
Public Sub ProcessTriggerRemoved (entityTypeBuilder As IConventionEntityTypeBuilder, trigger As IConventionTrigger, context As IConventionContext(Of IConventionTrigger))

參數

entityTypeBuilder
IConventionEntityTypeBuilder

包含觸發程式的實體型別產生器。

trigger
IConventionTrigger

已移除的觸發程式。

context
IConventionContext<IConventionTrigger>

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

適用於