Interface ITriggerRemovedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when a trigger is removed from the entity type.
public interface ITriggerRemovedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessTriggerRemoved(IConventionEntityTypeBuilder, IConventionTrigger, IConventionContext<IConventionTrigger>)
Called after a trigger is removed from the entity type.
void ProcessTriggerRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionTrigger trigger, IConventionContext<IConventionTrigger> context)
Parameters
entityTypeBuilder
IConventionEntityTypeBuilderThe builder for the entity type that contained the trigger.
trigger
IConventionTriggerThe removed trigger.
context
IConventionContext<IConventionTrigger>Additional information associated with convention execution.