Sdílet prostřednictvím


ITriggerAddedConvention.ProcessTriggerAdded Metoda

Definice

Volá se po přidání triggeru do typu entity.

public 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
Public Sub ProcessTriggerAdded (triggerBuilder As IConventionTriggerBuilder, context As IConventionContext(Of IConventionTriggerBuilder))

Parametry

triggerBuilder
IConventionTriggerBuilder

Tvůrce triggeru.

context
IConventionContext<IConventionTriggerBuilder>

Další informace související se spuštěním konvence

Platí pro