Partilhar via


RelationalCommandExtensions.ExecuteNonQuery Método

Definição

Executa o comando sem resultados.

public static int ExecuteNonQuery (this Microsoft.EntityFrameworkCore.Storage.IRelationalCommand command, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
static member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> int
<Extension()>
Public Function ExecuteNonQuery (command As IRelationalCommand, connection As IRelationalConnection) As Integer

Parâmetros

command
IRelationalCommand

O comando a ser executado.

connection
IRelationalConnection

A conexão com a qual executar.

Retornos

O número de linhas afetadas.

Aplica-se a