Шпаргалка LINQ
This is best so far:
https://vslapp.files.wordpress.com/2011/11/linq-cheatsheet.pdf
ekkamrit
This is best so far:
https://vslapp.files.wordpress.com/2011/11/linq-cheatsheet.pdf
Dim query = from m in Manufacturers
where m.Name = "Trek"
select new with {.Name = m.Name, .ManufacturerId = m.ManufacturerId}
Dim lambda = Manufacturers.Where(function(m) m.Name = "Trek").Select(function(m) new with {.Name = m.Name, .ManufacturerId = m.ManufacturerId})