SqlDatabase.ExecuteReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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