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