Hi,
Lets say I have this model :
public class Person { EntityRelatedList<Order> Orders {} }
public class Order { EntityRelatedList<OrderDetail> OrderDetails{} }
public class OrderDetail { public Category Category {} }
public class Category { }
|
I preload (using cocktail) the Category entities.
When I load a Person I include his Orders. OrderDetails are lazyloaded when the user want to see a specific Order.
Once the OrderDetails are loaded, I would expect them to be linked to the Categories already in my EntityManager's cache but they are not.
Every Category navigation property are in Pending mode and are currently being retreived from the database.
Shouldn't they use the Categories from the cache and not try to load them from the database ?
Regards,