Fetch a IDbCommand, call SetMaxRows and then execute it,
advance to the first result and return an SQL IDataReader
Namespace:
NHibernate.LoaderAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Function GetResultSet ( _ st As IDbCommand, _ selection As RowSelection, _ session As ISessionImplementor _ ) As IDataReader |
C# |
---|
protected IDataReader GetResultSet( IDbCommand st, RowSelection selection, ISessionImplementor session ) |
Visual C++ |
---|
protected: IDataReader^ GetResultSet( IDbCommand^ st, RowSelection^ selection, ISessionImplementor^ session ) |
JavaScript |
---|
function getResultSet(st, selection, session); |
Parameters
- st
- Type: System.Data..::.IDbCommand
The IDbCommand to execute.
- selection
- Type: NHibernate.Engine..::.RowSelection
The RowSelection to apply to the IDbCommand and IDataReader.
- session
- Type: NHibernate.Engine..::.ISessionImplementor
The ISession to load in.