Refresh the entity instance state from the database.

Namespace: NHibernate.Impl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void Refresh(
	Object entity
)
Visual Basic
Public Sub Refresh ( _
	entity As Object _
)
Visual C++
public:
virtual void Refresh(
	Object^ entity
) sealed

Parameters

entity
Type: System..::..Object
The entity to be refreshed.

Implements

IStatelessSession..::..Refresh(Object)

See Also