Out of curiosity, I have not tried I could be dreaming. But would a session.load(Id) then access the collection.
Will this load both the entity and collection, or is the proxy smart enough to just load the collection? Stefan Sedich On 30/07/2009, at 7:31 AM, Fabio Maulo <[email protected]> wrote: > 2009/7/29 Stefan Sedich <[email protected]> > I don't see the issue with the extra select by I'd anyway. > > By Id for the entity is not a problem but in this case he can avoid > even the select for the collection. > > Ah... a curiosity... > How EF can avoid both selects ? > > -- > Fabio Maulo > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
