RelationalCommandExtensions.ExecuteNonQuery Método

Definición

Ejecuta el comando sin 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

Comando que se va a ejecutar.

connection
IRelationalConnection

Conexión con la que se va a ejecutar.

Devoluciones

El número de filas afectadas.

Se aplica a