public virtual void TestCompareEntityConstantDirectEqualRelationship()
{
Customer alfki = new Customer { CustomerID = "ALFKI" };
var testQuery = from c in db.Customers
where c == alfki
select c;
var test = testQuery.ToList();
AssertValue(1, test.Count);
AssertValue("ALFKI", test[0].CustomerID);
}