We have LINQPad which is great for testing Linq expressions targeting database.
Can any one recommend “free ware” tool, that could help us convert
- “Sql Queries” to LINQ expressions
and why you recommend it?
NOTE: Please keep in mind, we use c#.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as tool, Randy Minder’s suggestion of Linqer is the only direct tool I’ve seen.
That being said, the Visual Basic team did a very good series showing how to go from SQL to LINQ. This walks through what it takes to learn how to do the conversion yourself. Converting from VB’s LINQ to C# LINQ is very easy (most of the statements are nearly identical in LINQ), so it’s a good way to learn how to do this, even for C# developers.
Even if you’re using a tool, I’d recommend trying to understand the concepts – tools don’t always produce the best code. Knowing how to do this yourself is very valuable.