Compartir a través de


CSharpSnapshotGenerator.GenerateTrigger Método

Definición

Genera código para un ITriggerobjeto .

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

Parámetros

tableBuilderName
String

Nombre de la variable del generador de tablas.

trigger
ITrigger

Desencadenador.

stringBuilder
IndentedStringBuilder

El código del generador se agrega a .

Se aplica a