|
|
|
|
|
by anton_gogolev
3210 days ago
|
|
Well, "companies" is a string, isnt't it? Ultimately, there will be strings down there. Working with pure AST is a huge pain. One can trivially construct something that can not realistically be represented in an SQL dialect of choice. LINQ is the (IMO) one of the best ways to do query composition, and with the nameof() operator you can really get away without a single hardcoded string in your application-level code. |
|
Ehhh...something as simple as a left-outer join is near ungrokkable for me in LINQ. Cross apply / lateral join on a table-valued function? Forget about it.
Not to mention - due to the way LINQ works a lot of errors that seem like they should be caught at compile time don't get caught until run time (e.g. you wrote something in a where clause that can't be translated to SQL).