Hi, I understand that this topic has been beaten to death so many times, but I need to ask this question about using nhibernate with WCF (or may be asmx webservices too).
Say I have a Parent and Child class. Now client gets the object of parent (also carrying some child dto objects as collection) from the webservice. Then client modifies the parent object and also carries out three operations on child collection (adds an object, deletes an object and modifies one object). After that this whole graph is sent back to WCF service using another method to save it. Now my question is, do I have to use Lock method only on the parent to attach it to the session? How will the three operations on children be carried out (insert 1, delete 1 and update 1). I hope I have been able to explain my requirement. Without a proper solution our company may decide to tilt towards MS entity framework (We had one MS evangelist in our premises the other day and he promised sun, moon and stars to our CTO). We have been using NHibernate (via castle activerecord) for quite a period (a little over 2.5 years but only in WinForms applications in one-tier mode) that I would hate to let it go. Thanks Vijay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
