Interface ITriggerAddedConvention
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Conventions
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents an operation that should be performed when a trigger is added to the entity type.
public interface ITriggerAddedConvention : IConvention
Remarks
See Model building conventions for more information and examples.
Methods
ProcessTriggerAdded(IConventionTriggerBuilder, IConventionContext<IConventionTriggerBuilder>)
Called after a trigger is added to the entity type.
void ProcessTriggerAdded(IConventionTriggerBuilder triggerBuilder, IConventionContext<IConventionTriggerBuilder> context)
Parameters
triggerBuilder
IConventionTriggerBuilderThe builder for the trigger.
context
IConventionContext<IConventionTriggerBuilder>Additional information associated with convention execution.