I have a function import that is returning me a dataset of type Package which has a property called PackageRoles with is a foreign key reference to a list of PackageRole objects.
When I call my function import like this...
List<Package> orders = db.GetTopOrders();
I get my list but PackageRoles property has not been populated.
Is there a way of getting this to populate using an Include() for example? I need to be able to get these without wanting to iterate over the Packages ideally.