That mean that session.Get will return a proxy is the class has
lazy-properties ?
The same for "from EntityWithLazyProperty" will return all proxy ?

Why limiting the usage on auto-properties ?

2010/1/13 Ayende Rahien <[email protected]>

> I am looking at implementing lazy properties ( as the first step to
> implement ghost properties ).
> I am not sure that I really like the Java impl, in particular it relies on
> having to do bytecode re-writing, and that is not something that I think
> that we need.
> Instead, I thought that we can ask the byte code provider to create a proxy
> class for us is we have any lazy properties at runtime, and then we can
> switch the mapped class with the given proxy type.
> That, in addition of limiting lazy properties to auto props only, will mean
> that we don't really have to do any bytecode manipulation.
>
> Thoughts?
>



-- 
Fabio Maulo

Reply via email to