Loads a single row from the result set. This is the processing used from the ScrollableResults where no collection fetches were encountered.

Namespace:  NHibernate.Loader
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Protected Function LoadSingleRow ( _
	resultSet As IDataReader, _
	session As ISessionImplementor, _
	queryParameters As QueryParameters, _
	returnProxies As Boolean _
) As Object
C#
protected Object LoadSingleRow(
	IDataReader resultSet,
	ISessionImplementor session,
	QueryParameters queryParameters,
	bool returnProxies
)
Visual C++
protected:
Object^ LoadSingleRow(
	IDataReader^ resultSet, 
	ISessionImplementor^ session, 
	QueryParameters^ queryParameters, 
	bool returnProxies
)
JavaScript
function loadSingleRow(resultSet, session, queryParameters, 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

See Also