The matter is really simple... nobody, or so, are sending domain entities over the wire.You should send simple, and perhaps plain, DTOs and not entirely object-graph.
If you are looking for a tool to make it easy http://automapper.codeplex.com/ 2009/9/15 mitirino <[email protected]> > > Yes, exactly... it was about the proxies not being serializable. So > before they are being send you either have to do > HibernateUtil.Initialize() or to evict them. Both solutions seem a > little bit too brure force to me and I was wondering if there is some > other way to handle this. > > (Actually the text in the book is about something completely > different... I just realized it... but somewhat connected and it lead > me to some posts on forums, etc. ) > > On Sep 15, 8:37 am, Fabio Maulo <[email protected]> wrote: > > 2009/9/15 Jason Meckley <[email protected]> > > > > > ... perhaps it refer to something else (as send entities > > coming from NH over the wire). > > > > -- > > Fabio Maulo > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
