JulieLerman, on 23 December 2011 - 12:28 PM, said:
Many thanks for the quick reply. Considering I have just started with ch 9. The code I have used is:
var context = new BAGA.BAEntities();
List<BAGA.Customer> customers =
context.Customers.Include("Contact")
.Include("PrimaryActivity")
.Include("SecondaryActivity")
.Include("PrimaryDestination")
.Include("SecondaryDestination")
.Include("Reservations.Trip.Destination")
.ToList();
customerBindingSource.DataSource = customers;
This looks the same as the original query that was commented out.