IMigrationCommandExecutor.ExecuteNonQuery Method

Definition

Executes the given commands using the given database connection.

public void ExecuteNonQuery (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> migrationCommands, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
abstract member ExecuteNonQuery : seq<Microsoft.EntityFrameworkCore.Migrations.MigrationCommand> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> unit
Public Sub ExecuteNonQuery (migrationCommands As IEnumerable(Of MigrationCommand), connection As IRelationalConnection)

Parameters

migrationCommands
IEnumerable<MigrationCommand>

The commands to execute.

connection
IRelationalConnection

The connection to use.

Applies to