I would like to offload the work of generating an sql statement from the application to the database. Is this possible?
views:
112answers:
2
+1
A:
LINQ is part of C# (and other .net languages). It has nothing to do with SQL.
DaRKoN_
2010-01-12 22:38:44
+1, although it does have a *little* to do with SQL, since LINQ to SQL can translate to T-SQL ;p
Mark Seemann
2010-01-12 22:43:59
@Mark Seemann: LINQ to SQL surely does (although that still won't help the OP). LINQ itself however, does not.
DaRKoN_
2010-01-20 02:59:37
+3
A:
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.
Brian
2010-01-13 03:29:50