SV: [nhusers] Implement own IsDirty in nHibernate

2010-02-18 Thread Roger Kratz
Från: nhusers@googlegroups.com [nhus...@googlegroups.com] för taoufik [taoufik.zam...@fortisinvestments.com] Skickat: den 18 februari 2010 12:58 Till: nhusers Ämne: [nhusers] Implement own IsDirty in nHibernate For my current project, we use a nHibernate session to retrieve the object, and another sessi

[nhusers] Implement own IsDirty in nHibernate

2010-02-18 Thread taoufik
For my current project, we use a nHibernate session to retrieve the object, and another session to update the changes we've made to the object in between the two session. If we use SaveOrUpdate(), nHibernate will typically do a select-then-update (so, two calls to the database). However, our own b