public virtual void TestContainsWithSubquery()
{
// this is the long-way to determine all customers that have at least one order
var list = db.Customers.Where(c => db.Orders.Select(o => o.CustomerID).Contains(c.CustomerID)).ToList();
AssertValue(89, list.Count);
}