Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.Refresh(Object) Method

Re-read the state of the given persistent instance.

[Visual Basic]
Public NotOverridable Overloads Sub Refresh( _
   ByVal entity As Object _
) _
    Implements ICommonHibernateOperations.Refresh
[C#]
public void Refresh(
   object entity
);

Parameters

entity
The persistent instance to re-read.

Implements

ICommonHibernateOperations.Refresh

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

HibernateTemplate Class | Spring.Data.NHibernate.Generic Namespace | HibernateTemplate.Refresh Overload List