Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've never really worked with C# before but I assume that query is about as efficient as a similar SQL statement?


Exactly.

LINQ allows you to use the same syntax for both local arrays and in an ORM, or any data source really, if you implement its IQueryable interface. You implementation can "parse" the AST and generate an SQL query, like a regular ORM.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: