Get the entity instance associated with the given EntityKey

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

Syntax

Visual Basic (Declaration)
Function GetEntity ( _
	key As EntityKey _
) As Object
C#
Object GetEntity(
	EntityKey key
)
Visual C++
Object^ GetEntity(
	EntityKey^ key
)
JavaScript
function getEntity(key);

See Also