Share via


TriggerBuilder Class

Definition

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

public class TriggerBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder>
type TriggerBuilder = class
    interface IInfrastructure<IConventionTriggerBuilder>
Public Class TriggerBuilder
Implements IInfrastructure(Of IConventionTriggerBuilder)
Inheritance
TriggerBuilder
Derived
Implements

Constructors

TriggerBuilder(IMutableTrigger)

Creates a new builder for the given ITrigger.

Properties

Builder

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

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.

Metadata

The trigger being configured.

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.

Explicit Interface Implementations

IInfrastructure<IConventionTriggerBuilder>.Instance

Gets the value of the property being hidden.

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