title: What T-SQL is being executed by my LINQ-to-SQL queries?
body: <p>Is there any easy way to find out what T-SQL is being generated by my LINQ-to-SQL query?</p>
  
  <p>Preferably using some LINQ entrypoint, rather than a licenced software product like <em>Microsoft SQL Server Profiler</em> or <em>LINQ-to-SQL Profiler</em>.</p>