Linq Query To SQL With LinqPad

Kristoffer Karlsson
2 min readJan 5, 2018

--

An easy way to convert your linq query to pure SQL using LinqPad.

If you don’t have LinqPad then you can download it here.

Connect To Your Database

Write Your Query

Write your query in linq and then click the green button to execute.

See The Result

Click the SQL button to view the query in SQL.

LinqPad is a great way to test your linq queries and see how it is translated into SQL.

Don’t forget to follow me on Twitter.

--

--

Kristoffer Karlsson

Software developer and indie game developer from Sweden. Been turning coffee into code since 2010.