IRelationalCommand.ExecuteReader Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>) |
Executa o comando com um RelationalDataReader resultado. |
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean) |
Obsoleto.
Executa o comando com um RelationalDataReader resultado. |
ExecuteReader(RelationalCommandParameterObject) |
Executa o comando com um RelationalDataReader resultado. |
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>)
Executa o comando com um 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
A conexão com a qual executar.
- parameterValues
- IReadOnlyDictionary<String,Object>
Os valores dos parâmetros.
Retornos
O resultado do comando.
Aplica-se a
ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)
Cuidado
Use overload without 'manageConnection' parameter
Executa o comando com um 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
A conexão com a qual executar.
- parameterValues
- IReadOnlyDictionary<String,Object>
Os valores dos parâmetros.
- manageConnection
- Boolean
Um valor que indica se a conexão deve ser aberta e fechada conforme necessário.
Retornos
O resultado do comando.
- Atributos
Aplica-se a
ExecuteReader(RelationalCommandParameterObject)
- Origem:
- IRelationalCommand.cs
- Origem:
- IRelationalCommand.cs
- Origem:
- IRelationalCommand.cs
- Origem:
- IRelationalCommand.cs
Executa o comando com um 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 esse método.
Retornos
O resultado do comando.
Aplica-se a
Entity Framework