Compartir a través de


SqlDatabase.ExecuteReader Método

Definición

Sobrecargas

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

Parámetros

command
DbCommand

Devoluciones

Se aplica a

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

Parámetros

command
DbCommand
transaction
DbTransaction

Devoluciones

Se aplica a