Condividi tramite


CSharpSnapshotGenerator.GenerateTrigger Metodo

Definizione

Genera il codice per un ITriggeroggetto .

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)

Parametri

tableBuilderName
String

Nome della variabile generatore tabelle.

trigger
ITrigger

Trigger.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a