Oh yes, I know all of that.

In fact, my entities are proxyable, because I have a PostSharp aspect
which modifies all of their properties to make them virtual.

I thought Fabio was pointing another problem of my entities.

And because I've forgotten to mention this aspect, I now understand
his remark :)



On 9 nov, 15:16, José F. Romaniello <[email protected]> wrote:
> Lazy loading in nhibernate works by creating a dynamic proxy of your class.
> This dynamic proxy, is a class that inherits from your real class and
> override every members with some code.. so the first acces to any property
> will issue the select to the db.
> In order to be "proxyable" you must declare your properties as "virtual".
>
> public virtual string my...
>
> 2010/11/9 Michael Delva <[email protected]>
>
>
>
>
>
>
>
> > > - your classes are not proxyable and for that reason you can see the
> > > lazy="false"
>
> > Why are'nt they proxyable?

-- 
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.

Reply via email to