You are doing it wrong.

http://ayende.com/blog/4573/nhibernate-is-lazy-just-live-with-it


2011/5/12, JoshG <[email protected]>:
> Thanks for the response.
>
> Sorry, bad example in the previous post, I did say "from record o"
> In actual fact, I would only ever be doing "from record o where o.Id =
> XXX"
>
> I would only ever be loading one record using this method, and as
> such, I want to load the entire object graph for this object.
> The trouble is I don't know the columns that have the relations - so I
> can't write "fetch o.other" as I don't know the exact names of the
> columns in this instance (the schema is runtime specific).
>
> Any thoughts?
>
> Josh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" 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/castle-project-users?hl=en.
>
>

-- 
Enviado desde mi dispositivo móvil

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to