Udostępnij za pośrednictwem


CSharpSnapshotGenerator.GenerateTrigger Metoda

Definicja

Generuje kod dla elementu 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)

Parametry

tableBuilderName
String

Nazwa zmiennej konstruktora tabel.

trigger
ITrigger

Wyzwalacz.

stringBuilder
IndentedStringBuilder

Kod konstruktora jest dodawany do.

Dotyczy