Partilhar via


IMigrationCommandExecutor.ExecuteNonQuery Método

Definição

Executa os comandos especificados usando a conexão de banco de dados fornecida.

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)

Parâmetros

migrationCommands
IEnumerable<MigrationCommand>

Os comandos a serem executados.

connection
IRelationalConnection

A conexão a ser usada.

Aplica-se a