2 ms·
> Basically allowing for a uniform way to query data which is reminiscent of a more modern version of SQL. Pretty much. There's the "language integrated" versi
by pjc50 2y ago
> Basically allowing for a uniform way to query data which is reminiscent of a more modern version of SQL.
Pretty much. There's the "language integrated" version which looks a lot like SQL:
var foo = new List<int> { 1, 2, 3, };
var response = from x in foo where x > 1 select x.ToString();
But that just translates to the method-orientated one which many people prefer
response = foo.Where(x => x > 1).Select(x => x.ToString());
If instead of querying a List or Dictionary you query a database, using an ORM (usually Entity Framework), that will actually get converted to SQL and run on the DB.