3 ms·
How is this standard C# code to work over a list: var males = from p in context.Person where p.Sex = “M” select c; Any more imperative whether context repre
by scarface74 7y ago
How is this standard C# code to work over a list:
var males = from p in context.Person where p.Sex = “M” select c;
Any more imperative whether context represents a C# object or a database?
- takeda 7y agoWell, LINQ is special, it is a language that is similar to SQL that's inside of another language. Such code then is translated to SQL. The language is still not SQL but SQL-like and is incomplete, for example you can't do CTE in it.