public virtual void TestCompareEntityConstantEqualRelationship()
{
Customer alfki = new Customer { CustomerID = "ALFKI" };
var testQuery = from o in db.Orders
where o.Customer == alfki
select o;
var test = testQuery.ToList();
AssertValue(6, test.Count);
AssertValue("ALFKI", test[0].CustomerID);
}