Interface IConventionTrigger
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents a store trigger.
public interface IConventionTrigger : IReadOnlyTrigger, IConventionAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Remarks
See Database triggers for more information and examples.
Properties
Builder
Gets the builder that can be used to configure this trigger.
IConventionTriggerBuilder Builder { get; }
Property Value
Exceptions
- InvalidOperationException
If the trigger has been removed from the model.
EntityType
Gets the IConventionEntityType on which this trigger is defined.
IConventionEntityType EntityType { get; }
Property Value
Methods
GetConfigurationSource()
Gets the configuration source for this trigger.
ConfigurationSource GetConfigurationSource()
Returns
- ConfigurationSource
The configuration source for this trigger.