views:

174

answers:

2

Does anyone know of a tool to take a T-SQL query and convert it into a LINQtoSQL query?

+2  A: 

I'm sorry that I don't know of any tools to do this. If your problem is that you just don't know Linq well enough, you may want to consider this tool. It will help you learn Linq and it's free (but not open source).

wcm
A: 

Because of the way LINQ handles joins, that is a non-trivial problem. I actually tried in the past, but I just couldn't get the semantics right.

(Maybe I will try again using OSLO and MGrammar. Having a decent replacement for LEX and YACC will go a long way.)

Jonathan Allen
have you tried ANTLR?
Mark Cidade