> On Thu, Nov 27, 2008 at 5:16 AM, joe <[EMAIL PROTECTED]> wrote:
>
> > Basically why calling session.Update(myobject) when i can call
> > session.Flush() ?

When you have a detached object, say, from the UI layer, you attach it
to the session (and persist the changes to the DB at one go) using
session.Update()

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to