MigrationCommandListBuilder.EndCommand(Boolean) 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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework