AFAIK, ID of lazy-loaded entity is available without fetching it from the
DB.

On Wed, Apr 1, 2009 at 9:08 PM, Bill Barry <[email protected]> wrote:

>
> Danyal Aytekin wrote:
> > Do you need to have both? You could have the first and then to access
> > the ID you could use "Report.ReportID" (or whatever the ID is called
> > in the Report table).
> >
> If Report is loaded lazily, you would have to do another database lookup
> to get to it. This would be not so great if all you need to do is throw
> a table up on a page to link to the report.

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