HNHacker News
TopNewBestAskShowJobs

senthilthecoder

1 karma · joined January 12, 2015

submissionscomments
senthilthecoder··on New Features in C# 6 (2014)
Yes, but someone needs to create an expression out of the LINQ statement, so that the query provider can do its job.

I suppose it is possible to build expressions with just libraries, but that would be very ugly (like control flow in XML) :)

senthilthecoder··on New Features in C# 6 (2014)
Hmm, perhaps it would work for LINQ to objects, where the LINQ statement just becomes a delegate that is executed at runtime. I can't see how it would work for LINQ to anything else (SQL etc..), where the compiler only emits an Expression which is then consumed to generate SQL/Amazon queries/whatever.