What Is This Part Of A Linq Query Called?
In the LINQ query below, what do you call the "a"?
var result =
from a in db.table
where a.id == 12
select new {A开发者_运维技巧 = a};
It's a range variable. See my Edulinq post on "how query expressions work" for more details.
精彩评论