Include() not working
Posted: Thu 01 Sep 2011 09:21
Hi,
we started using dbMonitor lately and I've spotted that the Include() has no action. For example:
will generate 2 selects in db instead of expected only one.
Is this a known issue, some flag we have to set?
we started using dbMonitor lately and I've spotted that the Include() has no action. For example:
Code: Select all
Customer customer = context.Customers.Include("Orders").Single( ... );
Order order = customer.Orders.First();Is this a known issue, some flag we have to set?