Compartir a través de


IRelationalCommand.ExecuteNonQuery Método

Definición

Sobrecargas

ExecuteNonQuery(RelationalCommandParameterObject)

Ejecuta el comando sin resultados.

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Ejecuta el comando sin resultados.

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)
Obsoletos.

Ejecuta el comando sin resultados.

ExecuteNonQuery(RelationalCommandParameterObject)

Source:
IRelationalCommand.cs
Source:
IRelationalCommand.cs
Source:
IRelationalCommand.cs
Source:
IRelationalCommand.cs

Ejecuta el comando sin resultados.

public int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject parameterObject);
abstract member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject -> int
Public Function ExecuteNonQuery (parameterObject As RelationalCommandParameterObject) As Integer

Parámetros

parameterObject
RelationalCommandParameterObject

Parámetros para este método.

Devoluciones

El número de filas afectadas.

Se aplica a

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Ejecuta el comando sin resultados.

public int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues);
abstract member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> int
Public Function ExecuteNonQuery (connection As IRelationalConnection, parameterValues As IReadOnlyDictionary(Of String, Object)) As Integer

Parámetros

connection
IRelationalConnection

Conexión en la que se va a ejecutar.

parameterValues
IReadOnlyDictionary<String,Object>

Los valores de los parámetros.

Devoluciones

El número de filas afectadas.

Se aplica a

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)

Precaución

Use overload without 'manageConnection' parameter

Ejecuta el comando sin resultados.

public int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues = default, bool manageConnection = true);
[System.Obsolete("Use overload without 'manageConnection' parameter")]
public int ExecuteNonQuery (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues, bool manageConnection);
abstract member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> int
[<System.Obsolete("Use overload without 'manageConnection' parameter")>]
abstract member ExecuteNonQuery : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> int
Public Function ExecuteNonQuery (connection As IRelationalConnection, Optional parameterValues As IReadOnlyDictionary(Of String, Object) = Nothing, Optional manageConnection As Boolean = true) As Integer
Public Function ExecuteNonQuery (connection As IRelationalConnection, parameterValues As IReadOnlyDictionary(Of String, Object), manageConnection As Boolean) As Integer

Parámetros

connection
IRelationalConnection

Conexión en la que se va a ejecutar.

parameterValues
IReadOnlyDictionary<String,Object>

Los valores de los parámetros.

manageConnection
Boolean

Valor que indica si se va a abrir y cerrar la conexión según sea necesario.

Devoluciones

El número de filas afectadas.

Atributos

Se aplica a