Gets the current element in the query results.

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Current As Object
C#
public Object Current { get; }
Visual C++
public:
virtual property Object^ Current {
	Object^ get () sealed;
}
JavaScript
function get_current();

Field Value

The current element in the query results which is either an object or an object array.

Implements

IEnumerator..::.Current

Remarks

If the IQuery only returns one type of Entity then an object will be returned. If this is a multi-column resultset then an object array will be returned.

See Also