Share via


SqlDatabase.ExecuteReader Method

Definition

Overloads

ExecuteReader(DbCommand)
ExecuteReader(DbCommand, DbTransaction)

ExecuteReader(DbCommand)

public:
 System::Data::IDataReader ^ ExecuteReader(System::Data::Common::DbCommand ^ command);
public System.Data.IDataReader ExecuteReader (System.Data.Common.DbCommand command);
member this.ExecuteReader : System.Data.Common.DbCommand -> System.Data.IDataReader
Public Function ExecuteReader (command As DbCommand) As IDataReader

Parameters

command
DbCommand

Returns

Applies to

ExecuteReader(DbCommand, DbTransaction)

public:
 virtual System::Data::IDataReader ^ ExecuteReader(System::Data::Common::DbCommand ^ command, System::Data::Common::DbTransaction ^ transaction);
public virtual System.Data.IDataReader ExecuteReader (System.Data.Common.DbCommand command, System.Data.Common.DbTransaction transaction);
abstract member ExecuteReader : System.Data.Common.DbCommand * System.Data.Common.DbTransaction -> System.Data.IDataReader
override this.ExecuteReader : System.Data.Common.DbCommand * System.Data.Common.DbTransaction -> System.Data.IDataReader
Public Overridable Function ExecuteReader (command As DbCommand, transaction As DbTransaction) As IDataReader

Parameters

command
DbCommand
transaction
DbTransaction

Returns

Applies to