For question 1 : the answer is “no,” “fetch all properties,” as described in http://ayende.com/blog/4377/nhibernate-new-feature-lazy-properties, which is currently only supported in HQL.
I don’t remember at all how in the NH Google discussions I couldn’t find the thread. The answer will be updated if I can find it today. But as of the current 3.1 release, it is only in HQL.
To question 2 : I don’t know if there is a way to avoid this, I usually convert them to DTO and serialize DTO, not NH Poco, when using WCF. The Leonardo link looks interesting and may help.
Phill
source share