Get the entity instance associated with the given EntityKey

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

Syntax

C#
public Object GetEntity(
	EntityKey key
)
Visual Basic
Public Function GetEntity ( _
	key As EntityKey _
) As Object
Visual C++
public:
virtual Object^ GetEntity(
	EntityKey^ key
) sealed

Parameters

key
Type: NHibernate.Engine..::..EntityKey

[Missing <param name="key"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.GetEntity(NHibernate.Engine.EntityKey)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.GetEntity(NHibernate.Engine.EntityKey)"]

Implements

IPersistenceContext..::..GetEntity(EntityKey)

See Also