Gets an IDataReader by calling ExecuteReader on the IDbCommand.
Namespace:
NHibernate.EngineAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function ExecuteReader ( _ cmd As IDbCommand _ ) As IDataReader |
C# |
---|
IDataReader ExecuteReader( IDbCommand cmd ) |
Visual C++ |
---|
IDataReader^ ExecuteReader( IDbCommand^ cmd ) |
JavaScript |
---|
function executeReader(cmd); |
Parameters
- cmd
- Type: System.Data..::.IDbCommand
The IDbCommand to execute to get the IDataReader.
Return Value
The IDataReader from the IDbCommand.
Remarks
The Batcher is responsible for ensuring that all of the Drivers rules for how many open
IDataReaders it can have are followed.