Compartilhar via


CSharpSnapshotGenerator.GenerateTrigger Método

Definição

Gera código para um ITrigger.

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

O nome da variável do construtor de tabelas.

trigger
ITrigger

O gatilho.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a