Partilhar via


MigrationsSqlGenerator.EndStatement Método

Definição

Gera um fragmento SQL para encerrar o comando SQL.

protected virtual void EndStatement (Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder, bool suppressTransaction = false);
abstract member EndStatement : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
override this.EndStatement : Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder * bool -> unit
Protected Overridable Sub EndStatement (builder As MigrationCommandListBuilder, Optional suppressTransaction As Boolean = false)

Parâmetros

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para adicionar o fragmento SQL.

suppressTransaction
Boolean

Indica se as transações devem ou não ser suprimidas durante a execução do comando compilado.

Aplica-se a