Freigeben über


CSharpSnapshotGenerator.GenerateTrigger Methode

Definition

Generiert Code für ein 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)

Parameter

tableBuilderName
String

Der Name der Tabellen-Generatorvariable.

trigger
ITrigger

Der Trigger.

stringBuilder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für: