Gets the current element in the query results.

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

Syntax

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

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