Someone correct me if I'm wrong, but I'm pretty sure if you have an Object A with a property B representing its parent, and you do:
instanceA.Parent.Id Assuming Parent is an instance of B which is lazy loaded, so it is in proxy-form, accessing the Id will not trigger a server roundtrip. -Francois On Mon, Jun 27, 2011 at 4:17 PM, rhartzog <[email protected]> wrote: > Is there a way to access the Parent Id if you lazy load the parent and > don't want to or need to use load? I just want to print the value of > the parent id property but not fetch the entire object. > > -- > 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. > > -- 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.
