Sdílet prostřednictvím


CSharpSnapshotGenerator.GenerateTriggers Metoda

Definice

Generuje kód pro ITrigger objekty.

protected virtual void GenerateTriggers (string tableBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string table, string? schema, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateTriggers : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * string * string * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateTriggers : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * string * string * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateTriggers (tableBuilderName As String, entityType As IEntityType, table As String, schema As String, stringBuilder As IndentedStringBuilder)

Parametry

tableBuilderName
String

Název proměnné tvůrce tabulek.

entityType
IEntityType

Typ entity.

table
String

Název tabulky.

schema
String

Schéma tabulky.

stringBuilder
IndentedStringBuilder

Kód tvůrce se přidá do.

Platí pro