Megosztás a következőn keresztül:


MigrationCommandListBuilder.EndCommand(Boolean) Method

Definition

Ends the building of the current command and adds it to the list of built commands. The next call to one of the builder methods will start building a new command.

public virtual Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder EndCommand (bool suppressTransaction = false);
abstract member EndCommand : bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder
override this.EndCommand : bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder
Public Overridable Function EndCommand (Optional suppressTransaction As Boolean = false) As MigrationCommandListBuilder

Parameters

suppressTransaction
Boolean

Indicates whether or not transactions should be suppressed while executing the built command.

Returns

This builder so that additional calls can be chained.

Applies to