Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ICommonHibernateOperations.Refresh(Object) Method

Re-read the state of the given persistent instance.

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

Parameters

entity
The persistent instance to re-read.

Exceptions

Exception Type Condition
DataAccessException In case of Hibernate errors

See Also

ICommonHibernateOperations Interface | Spring.Data.NHibernate Namespace | ICommonHibernateOperations.Refresh Overload List