I noticed this also but I assumed I was handling the session
incorrectly making it fully load the object but maybe this actually is
an issue.

On Jan 25, 9:20 am, VisualHint <cadil...@gmail.com> wrote:
> Yes I know that Seb (thx anyway). This was just telling a fact.
> My question is about LazyLoad and why it has no effect when called on
> a References() call.
>
> Nicolas
>
> On Jan 25, 3:44 am, Sebastien Lambla <s...@serialseb.com> wrote:
>
> > > But doing that has a consequence: All my properties in> the "one" model 
> > > must be virtual, even the ones that are not related to> fields in my 
> > > database.
>
> > That's because the object is created as a proxy. Any of your property may 
> > have access or rely on other properties that need to be hydrated from the 
> > db. They all need to be virtual so that the first cal can trigger the load. 
> > This is an nhibernate thing.
>
> > --
> > Seb
> > _________________________________________________________________
> > Windows Live Messenger just got better .Video display pics, contact updates 
> > & more.http://www.download.live.com/messenger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to