CSharpSnapshotGenerator.GenerateTriggerAnnotations Method

Definition

Generates code for trigger annotations.

protected virtual void GenerateTriggerAnnotations (string triggerBuilderName, Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateTriggerAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateTriggerAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateTriggerAnnotations (triggerBuilderName As String, trigger As ITrigger, stringBuilder As IndentedStringBuilder)

Parameters

triggerBuilderName
String

The name of the builder variable.

trigger
ITrigger

The trigger.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to