Sdílet prostřednictvím


MigrationsSqlGenerator.EndStatement Metoda

Definice

Vygeneruje fragment SQL pro ukončení příkazu 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)

Parametry

builder
MigrationCommandListBuilder

Tvůrce příkazů, který se má použít k přidání fragmentu SQL.

suppressTransaction
Boolean

Určuje, zda mají být při provádění sestaveného příkazu potlačeny transakce.

Platí pro