C# – Is it possible to use linq in SQL Management Studio or use it in inline sql

c++linqssms

I would like to offload the work of generating an sql statement from the application to the database. Is this possible?

Best Solution

You cannot, but if you want to translate LINQ queries you can use this tool: http://www.linqpad.net/ It can generate the SQL so if you invested a lot in LINQ, you can use this to create stored procs or queries for SQL.