Nhiberbnate Updating record using previous session
Hi,
I am working on Web Application using C#, ASP.Net 2.0, MS-SQL 2005
I am using Nhibernate.
I have a screen where all the users will be displayed. Now from that screen the user can be clicked and can come to user modify screen
Now I heard that Nhibernate keeps the records in cache and when we update the records and any record in changed then it updates the record automatically.
But When page is loaded and we press the update button how we can get the same cache or session where Nhibernate has maintened its state.
Can anyone help me
Many Thanks
|