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#
bool ContainsEntity(
	EntityKey key
)
Visual Basic
Function ContainsEntity ( _
	key As EntityKey _
) As Boolean
Visual C++
bool ContainsEntity(
	EntityKey^ key
)

Parameters

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

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

Return Value

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

See Also