This question is locked. New answers and comments are not allowed.
Hi Telerik,
I have been able to use fetch plans to successfully retrieve referenced objects in a single query where there is a 1 to 1 relationship - for example if I query OrderDetail I can retrieve the referenced Order in a single query.
I however want to be able to get an Order object and have the OrderDetail objects for that order pre-loaded in a single query.
I have tried the following but I still seem to get 2 queries - the first for retrieving the order then another for retrieving the details.
[Telerik.OpenAccess.FetchField("Order Details Fetch Group")]
private IList<OrderDetail> orderDetails = new List<OrderDetail>(); // inverse OrderDetail.order
Is it possible to use Fetch Plans to preload the "many" part of a 1 - Many relationship?
Thanks
John