Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonHibernateOperations.Evict Method

Remove the given object from the Session cache.

[Visual Basic]
Public Sub Evict( _
   ByVal entity As Object _
)
[C#]
void Evict(
   object entity
);

Parameters

entity
The persistent instance to evict.

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

ICommonHibernateOperations Interface | Spring.Data.NHibernate Namespace