Get the current version of the object, or return null if there is no row for the given identifier. In the case of unversioned data, return any object if the row exists.

Namespace:  NHibernate.Persister.Entity
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function GetCurrentVersion ( _
	id As Object, _
	session As ISessionImplementor _
) As Object
C#
Object GetCurrentVersion(
	Object id,
	ISessionImplementor session
)
Visual C++
Object^ GetCurrentVersion(
	Object^ id, 
	ISessionImplementor^ session
)
JavaScript
function getCurrentVersion(id, session);

Return Value

See Also