Hello All,
My entity model contains multilevel navigation properties, can any one help me how to access multilevel/nested navigation properties.
The sample in developer guide shows one level of navigation access. here is the code snippet from dev. guide.
// Retrieve a collection of related entities using a collection navigation property
targetOrder.OrderDetails.PendingEntityListResolved +=
new EventHandler<PendingEntityListResolvedEventArgs<OrderDetail>>(
OrderDetails_PendingEntityListResolved); |
void OrderDetails_PendingEntityListResolved(object sender,
PendingEntityListResolvedEventArgs<OrderDetail> e) {
Console.WriteLine("OrderDetails retrieved: {0}", e.ResolvedEntities.Count);
} |
Help will be appricitated.
Thanks,
Anwar