Compartilhar via


CSharpSnapshotGenerator.GenerateTriggerAnnotations Método

Definição

Gera código para anotações de gatilho.

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

O nome da variável do construtor.

trigger
ITrigger

O gatilho.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a