title: How to use sp_helptext in Linqpad
body: <p>I'm trying the 'LinqPad Challenge' but I've come up with a usage scenario that has stumped me.</p>
  
  <p>For a given database, I am able to successfully query the 'sp_helptext' sproc using SQL as the language</p>
  
  <pre><code>-- SQL
  sp_helptext '[mySchema].[usp_myProc]'
  </code></pre>
  
  <p>however the sp_helptext sproc does not seem to have generated a corresponding method in my Linq2Sql context, and as such I can't query this function using C#.</p>
  
  <pre><code>// C#
  sp_helptext("[mySchema].[usp_myProc]")
  </code></pre>
  
  <p>is there some other way to access the sp_helptext function using C# as the language for my query.</p>