IRelationalCommand.ExecuteReader Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>) |
Esegue il comando con un RelationalDataReader risultato. |
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean) |
Obsoleti.
Esegue il comando con un RelationalDataReader risultato. |
ExecuteReader(RelationalCommandParameterObject) |
Esegue il comando con un RelationalDataReader risultato. |
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>)
Esegue il comando con un RelationalDataReader risultato.
public Microsoft.EntityFrameworkCore.Storage.RelationalDataReader ExecuteReader (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues);
abstract member ExecuteReader : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Public Function ExecuteReader (connection As IRelationalConnection, parameterValues As IReadOnlyDictionary(Of String, Object)) As RelationalDataReader
Parametri
- connection
- IRelationalConnection
Connessione da eseguire su.
- parameterValues
- IReadOnlyDictionary<String,Object>
Valori per i parametri.
Restituisce
Risultato del comando.
Si applica a
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)
Attenzione
Use overload without 'manageConnection' parameter
Esegue il comando con un RelationalDataReader risultato.
public Microsoft.EntityFrameworkCore.Storage.RelationalDataReader ExecuteReader (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues = default, bool manageConnection = true);
[System.Obsolete("Use overload without 'manageConnection' parameter")]
public Microsoft.EntityFrameworkCore.Storage.RelationalDataReader ExecuteReader (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues, bool manageConnection);
abstract member ExecuteReader : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
[<System.Obsolete("Use overload without 'manageConnection' parameter")>]
abstract member ExecuteReader : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Collections.Generic.IReadOnlyDictionary<string, obj> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Public Function ExecuteReader (connection As IRelationalConnection, Optional parameterValues As IReadOnlyDictionary(Of String, Object) = Nothing, Optional manageConnection As Boolean = true) As RelationalDataReader
Public Function ExecuteReader (connection As IRelationalConnection, parameterValues As IReadOnlyDictionary(Of String, Object), manageConnection As Boolean) As RelationalDataReader
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
Risultato del comando.
- Attributi
Si applica a
ExecuteReader(RelationalCommandParameterObject)
Esegue il comando con un RelationalDataReader risultato.
public Microsoft.EntityFrameworkCore.Storage.RelationalDataReader ExecuteReader (Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject parameterObject);
abstract member ExecuteReader : Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject -> Microsoft.EntityFrameworkCore.Storage.RelationalDataReader
Public Function ExecuteReader (parameterObject As RelationalCommandParameterObject) As RelationalDataReader
Parametri
- parameterObject
- RelationalCommandParameterObject
Parametri per questo metodo.
Restituisce
Risultato del comando.