Remove an entity from the session cache, also clear
up other state associated with the entity, all except
for the EntityEntry
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object RemoveEntity( EntityKey key ) |
Visual Basic |
---|
Function RemoveEntity ( _ key As EntityKey _ ) As Object |
Visual C++ |
---|
Object^ RemoveEntity( EntityKey^ key ) |
Parameters
- key
- Type: NHibernate.Engine..::..EntityKey
[Missing <param name="key"/> documentation for "M:NHibernate.Engine.IPersistenceContext.RemoveEntity(NHibernate.Engine.EntityKey)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Engine.IPersistenceContext.RemoveEntity(NHibernate.Engine.EntityKey)"]