IConventionTriggerBuilder Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an API point for provider-specific extensions for configuring a IConventionTrigger.
public interface IConventionTriggerBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
type IConventionTriggerBuilder = interface
interface IConventionAnnotatableBuilder
Public Interface IConventionTriggerBuilder
Implements IConventionAnnotatableBuilder
- Implements
Remarks
See Model building conventions for more information and examples.
Properties
Metadata |
The trigger being configured. |
ModelBuilder |
Gets the model builder. (Inherited from IConventionAnnotatableBuilder) |
Methods
CanRemoveAnnotation(String, Boolean) |
Returns a value indicating whether an annotation with the given name can be removed using this configuration source. (Inherited from IConventionAnnotatableBuilder) |
CanSetAnnotation(String, Object, Boolean) |
Returns a value indicating whether an annotation with the given name and value can be set from this configuration source. (Inherited from IConventionAnnotatableBuilder) |
HasAnnotation(String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists with same or lower ConfigurationSource. |
HasNoAnnotation(String, Boolean) |
Removes the annotation with the given name from this object. |
HasNonNullAnnotation(String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists with same or lower ConfigurationSource.
Removes the annotation if |
RemoveAnnotation(String, Boolean) |
Obsolete.
Removes the annotation with the given name from this object. (Inherited from IConventionAnnotatableBuilder) |
SetOrRemoveAnnotation(String, Object, Boolean) |
Obsolete.
Sets or removes the annotation stored under the given name. (Inherited from IConventionAnnotatableBuilder) |
Extension Methods
CanSetDatabaseName(IConventionTriggerBuilder, String, Boolean) |
Returns a value indicating whether the given name can be set for the trigger. |
CanSetTableName(IConventionTriggerBuilder, String, Boolean) |
Returns a value indicating whether the given table name can be set for the trigger. |
CanSetTableSchema(IConventionTriggerBuilder, String, Boolean) |
Returns a value indicating whether the given table schema can be set for the trigger. |
HasDatabaseName(IConventionTriggerBuilder, String, Boolean) |
Sets the database name of the trigger. |
HasTableName(IConventionTriggerBuilder, String, Boolean) |
Sets name of the table on which this trigger is defined. |
HasTableSchema(IConventionTriggerBuilder, String, Boolean) |
Sets the schema of the table on which this trigger is defined. |
Applies to
Entity Framework