views:

51

answers:

2

Hi everybody.

Just a short question: How do I configure the many-to-one attribute "lazy" to the value "no-proxy" (as mentioned here here ) in Fluent Nhibernate?

A: 

Check Fluent NHibernate - Release notes 1.1

[interface] No proxy lazy support

Rafael Mueller
I did find that, but how do I configure FNH to actually use this feature?
WizzApp
+1  A: 

Ok, I finally found the answere here:

In your fluent overrides or mappings, just call

.LazyLoad(Laziness.NoProxy);

on the mapping.

WizzApp