TableTriggerBuilder Class

Definition

Provides an API point for provider-specific extensions for configuring a ITrigger.

public class TableTriggerBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.TriggerBuilder
type TableTriggerBuilder = class
    inherit TriggerBuilder
Public Class TableTriggerBuilder
Inherits TriggerBuilder
Inheritance
TableTriggerBuilder

Remarks

See Database triggers for more information and examples.

Constructors

TableTriggerBuilder(IMutableTrigger)

Creates a new builder for the given trigger.

Properties

Builder

Gets the builder that can be used to configure this trigger.

(Inherited from TriggerBuilder)
InternalBuilder

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

(Inherited from TriggerBuilder)
Metadata

The trigger being configured.

(Inherited from TriggerBuilder)

Methods

HasAnnotation(String, Object)

Adds or updates an annotation on the trigger. If an annotation with the key specified in annotation already exists, its value will be updated.

HasDatabaseName(String)

Sets the database name of the trigger.

Explicit Interface Implementations

IInfrastructure<IConventionTriggerBuilder>.Instance

Gets the value of the property being hidden.

(Inherited from TriggerBuilder)

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

Applies to