Compartir a través de


CSharpSnapshotGenerator.GenerateTriggerAnnotations Método

Definición

Genera código para anotaciones de desencadenador.

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)

Parámetros

triggerBuilderName
String

Nombre de la variable del generador.

trigger
ITrigger

Desencadenador.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a