Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonHibernateOperations.Clear Method

Remove all objects from the Session cache, and cancel all pending saves, updates and deletes.

[Visual Basic]
Public Sub Clear()
[C#]
void Clear();

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

ICommonHibernateOperations Interface | Spring.Data.NHibernate Namespace