Condividi tramite


MigrationsSqlGenerator.EndStatement Metodo

Definizione

Genera un frammento SQL per terminare il 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)

Parametri

builder
MigrationCommandListBuilder

Generatore di comandi da usare per aggiungere il frammento SQL.

suppressTransaction
Boolean

Indica se le transazioni devono essere eliminate durante l'esecuzione del comando compilato.

Si applica a