NHibernate WCF Bidirectional and Lazy loading
Posted
by ChrisKolenko
on Stack Overflow
See other posts from Stack Overflow
or by ChrisKolenko
Published on 2010-04-14T23:09:27Z
Indexed on
2010/04/14
23:13 UTC
Read the original article
Hit count: 306
Hi everyone,
I'm just looking for some direction when it comes to NHibernate and WCF.
At the moment i have a many to one association between a person and address.
The first problem. I have to eager load the list of addresses so it doesn't generate a lazy loaded proxy. Is there a way to disable lazy loading completely? I never want to see it generated.
The second problem. The bidirectional association between my poco's is killing my standard serialization. What's the best way forward. Should I remove the
Thanks for all your help
© Stack Overflow or respective owner