开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜