IRelationalCommand.ExecuteReader Método

Definición

Sobrecargas

ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Ejecuta el comando con un RelationalDataReader resultado.

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

Ejecuta el comando con un RelationalDataReader resultado.

ExecuteReader(RelationalCommandParameterObject)

Ejecuta el comando con un RelationalDataReader resultado.

ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Ejecuta el comando con un RelationalDataReader resultado.

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

Parámetros

connection
IRelationalConnection

Conexión con la que se va a ejecutar.

parameterValues
IReadOnlyDictionary<String,Object>

Valores de los parámetros.

Devoluciones

Resultado del comando.

Se aplica a

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

Precaución

Use overload without 'manageConnection' parameter

Ejecuta el comando con un RelationalDataReader resultado.

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

Parámetros

connection
IRelationalConnection

Conexión con la que se va a ejecutar.

parameterValues
IReadOnlyDictionary<String,Object>

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

Resultado del comando.

Atributos

Se aplica a

ExecuteReader(RelationalCommandParameterObject)

Ejecuta el comando con un RelationalDataReader resultado.

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

Parámetros

parameterObject
RelationalCommandParameterObject

Parámetros para este método.

Devoluciones

Resultado del comando.

Se aplica a