Condividi tramite


IRelationalCommand.ExecuteNonQuery Metodo

Definizione

Overload

ExecuteNonQuery(RelationalCommandParameterObject)

Esegue il comando senza risultati.

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Esegue il comando senza risultati.

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

Esegue il comando senza risultati.

ExecuteNonQuery(RelationalCommandParameterObject)

Esegue il comando senza risultati.

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

Parametri

parameterObject
RelationalCommandParameterObject

Parametri per questo metodo.

Restituisce

Numero di righe interessate.

Si applica a

ExecuteNonQuery(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Esegue il comando senza risultati.

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

Parametri

connection
IRelationalConnection

Connessione da eseguire su.

parameterValues
IReadOnlyDictionary<String,Object>

Valori per i parametri.

Restituisce

Numero di righe interessate.

Si applica a

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

Attenzione

Use overload without 'manageConnection' parameter

Esegue il comando senza risultati.

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

Parametri

connection
IRelationalConnection

Connessione da eseguire su.

parameterValues
IReadOnlyDictionary<String,Object>

Valori per i parametri.

manageConnection
Boolean

Valore che indica se aprire e chiudere la connessione in base alle esigenze.

Restituisce

Numero di righe interessate.

Attributi

Si applica a