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# |
---|
public Object RemoveEntity( EntityKey key ) |
Visual Basic |
---|
Public Function RemoveEntity ( _ key As EntityKey _ ) As Object |
Visual C++ |
---|
public: virtual Object^ RemoveEntity( EntityKey^ key ) sealed |
Parameters
- key
- Type: NHibernate.Engine..::..EntityKey
[Missing <param name="key"/> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.RemoveEntity(NHibernate.Engine.EntityKey)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Engine.StatefulPersistenceContext.RemoveEntity(NHibernate.Engine.EntityKey)"]