no need to get defensive. the friction you are running up against is that you are working against the NH framework and you are learning NH as you go along. that is why this is difficult. depending on your mappings and the state of the root entity (persisted or transient) then you do not need to call session.Save() that's the beauty of NH it keeps persistence concerns out of your way.
I find that if you are manipulating the domain object then the object should be attached to the session, to manipulate the object outside of session and then merge back into the session is making the architecture more complicated. I haven't use RIA but it could be that the assumptions made by RIA and NH are not compatible, at least not easily. -- 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.
