CSharpSnapshotGenerator.GenerateTrigger 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 an 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)
Parameters
- tableBuilderName
- String
The name of the table builder variable.
- trigger
- ITrigger
The trigger.
- stringBuilder
- IndentedStringBuilder
The builder code is added to.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework