Table of Contents

Class RuntimeTrigger

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.dll

Represents a database trigger on a table.

public class RuntimeTrigger : AnnotatableBase, ITrigger, IReadOnlyTrigger, IAnnotatable, IReadOnlyAnnotatable
Inheritance
RuntimeTrigger
Implements
Inherited Members

Constructors

RuntimeTrigger(RuntimeEntityType, string)

Initializes a new instance of the RuntimeTrigger class.

public RuntimeTrigger(RuntimeEntityType entityType, string modelName)

Parameters

entityType RuntimeEntityType

The entity type.

modelName string

The name in the model.

Properties

DebugView

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.

[EntityFrameworkInternal]
public virtual DebugView DebugView { get; }

Property Value

DebugView

EntityType

public virtual IEntityType EntityType { get; }

Property Value

IEntityType

ModelName

public virtual string ModelName { get; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string