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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
Object GetCurrentVersion(
	Object id,
	ISessionImplementor session
)
Visual Basic
Function GetCurrentVersion ( _
	id As Object, _
	session As ISessionImplementor _
) As Object
Visual C++
Object^ GetCurrentVersion(
	Object^ id, 
	ISessionImplementor^ session
)

Parameters

id
Type: System..::..Object

[Missing <param name="id"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GetCurrentVersion(System.Object,NHibernate.Engine.ISessionImplementor)"]

session
Type: NHibernate.Engine..::..ISessionImplementor

[Missing <param name="session"/> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GetCurrentVersion(System.Object,NHibernate.Engine.ISessionImplementor)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Persister.Entity.IEntityPersister.GetCurrentVersion(System.Object,NHibernate.Engine.ISessionImplementor)"]

See Also