Loads a single row from the result set. This is the processing used from the
ScrollableResults where no collection fetches were encountered.
Namespace: NHibernate.LoaderAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected Object LoadSingleRow( IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, bool returnProxies ) |
Visual Basic |
---|
Protected Function LoadSingleRow ( _ resultSet As IDataReader, _ session As ISessionImplementor, _ queryParameters As QueryParameters, _ returnProxies As Boolean _ ) As Object |
Visual C++ |
---|
protected: Object^ LoadSingleRow( IDataReader^ resultSet, ISessionImplementor^ session, QueryParameters^ queryParameters, bool returnProxies ) |
Parameters
- resultSet
- Type: System.Data..::..IDataReader
The result set from which to do the load.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The session from which the request originated.
- queryParameters
- Type: NHibernate.Engine..::..QueryParameters
The query parameters specified by the user.
- returnProxies
- Type: System..::..Boolean
Should proxies be generated
Return Value
The loaded "row".Exceptions
Exception | Condition |
---|---|
NHibernate..::..HibernateException |