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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework