public virtual void TestSelectNestedCollectionInAnonymousType()
{
var list = (
from c in db.Customers
where c.CustomerID == "ALFKI"
select new { Foos = db.Orders.Where(o => o.CustomerID == c.CustomerID).Select(o => o.OrderID).ToList() }
).ToList();
AssertValue(1, list.Count);
AssertValue(6, list[0].Foos.Count);
}