CSharpSnapshotGenerator.GenerateTriggers Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates code for ITrigger objects.
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)
Parameters
- tableBuilderName
- String
The name of the table builder variable.
- entityType
- IEntityType
The entity type.
- table
- String
The table name.
- schema
- String
The table schema.
- stringBuilder
- IndentedStringBuilder
The builder code is added to.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework