Partager via


SqlDatabase.ExecuteReader Méthode

Définition

Surcharges

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

Paramètres

command
DbCommand

Retours

S’applique à

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

Paramètres

command
DbCommand
transaction
DbTransaction

Retours

S’applique à