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>

与约定执行关联的其他信息。

适用于