Is there an entity with the given key in the persistence context

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

Syntax

C#
public bool ContainsEntity(
	EntityKey key
)
Visual Basic
Public Function ContainsEntity ( _
	key As EntityKey _
) As Boolean
Visual C++
public:
virtual bool ContainsEntity(
	EntityKey^ key
) sealed

Parameters

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

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

Return Value

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

Implements

IPersistenceContext..::..ContainsEntity(EntityKey)

See Also