What is this part of the Linq query?

In the LINQ query below, what do you call "a"?

var result = 
from a in db.table
where a.id == 12
select new {A = a};
+3
source share
1 answer

This is a range variable. See my Edulinq post on how query expressions work .

+6
source

Source: https://habr.com/ru/post/1795835/


All Articles