private TestSelectAnonymousLiteral ( ) : void | ||
return | void |
public virtual void TestSelectAnonymousLiteral()
{
var list = db.Customers.Where(c => c.City == "London").Select(c => new { X = 10 }).ToList();
AssertValue(6, list.Count);
Assert.IsTrue(list.All(x => x.X == 10));
}