Udostępnij za pośrednictwem


IRelationalCommand.ExecuteReader Metoda

Definicja

Przeciążenia

ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Wykonuje polecenie z RelationalDataReader wynikiem.

ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>, Boolean)
Przestarzałe.

Wykonuje polecenie z RelationalDataReader wynikiem.

ExecuteReader(RelationalCommandParameterObject)

Wykonuje polecenie z RelationalDataReader wynikiem.

ExecuteReader(IRelationalConnection, IReadOnlyDictionary<String,Object>)

Wykonuje polecenie z RelationalDataReader wynikiem.

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

Parametry

connection
IRelationalConnection

Połączenie do wykonania.

parameterValues
IReadOnlyDictionary<String,Object>

Wartości parametrów.

Zwraca

Wynik polecenia.

Dotyczy

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

Przestroga

Use overload without 'manageConnection' parameter

Wykonuje polecenie z RelationalDataReader wynikiem.

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

Parametry

connection
IRelationalConnection

Połączenie do wykonania.

parameterValues
IReadOnlyDictionary<String,Object>

Wartości parametrów.

manageConnection
Boolean

Wartość wskazująca, czy należy otworzyć i zamknąć połączenie zgodnie z potrzebami.

Zwraca

Wynik polecenia.

Atrybuty

Dotyczy

ExecuteReader(RelationalCommandParameterObject)

Źródło:
IRelationalCommand.cs
Źródło:
IRelationalCommand.cs
Źródło:
IRelationalCommand.cs
Źródło:
IRelationalCommand.cs

Wykonuje polecenie z RelationalDataReader wynikiem.

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

Parametry

parameterObject
RelationalCommandParameterObject

Parametry dla tej metody.

Zwraca

Wynik polecenia.

Dotyczy