I forgot to say that i flush the nh session before closing the session. It is not very clear. Basically why calling session.Update(myobject) when i can call session.Flush() ?
On Nov 27, 2:11 pm, joe <[EMAIL PROTECTED]> wrote: > I don't really understand why i need to call the session update. > > I get an nh object. > Update one of its properties. > Close the nh session. > Then the object gets persisted with the new updated property. > > I get an nh object. > Update one of its properties. > Call session Update on the object > Close the nh session. > Then the object gets persisted with the new updated property. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
