Refresh the entity instance state from the database.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void Refresh( Object entity, LockMode lockMode ) |
Visual Basic |
---|
Sub Refresh ( _ entity As Object, _ lockMode As LockMode _ ) |
Visual C++ |
---|
void Refresh( Object^ entity, LockMode^ lockMode ) |
Parameters
- entity
- Type: System..::..Object
The entity to be refreshed.
- lockMode
- Type: NHibernate..::..LockMode
The LockMode to be applied.