title: Converting PetaPoco.Database.LastCommand to a SQL command to run in a Query window
body: <p>For debugging purposes, I would like to be able to see what SQL PetaPoco is attempting to run on the databse (so that I can copy-paste it into a query window and see the results).  Using Database.LastCommand, I get output like this (though generally much longer with a lot of variables):</p>
  
  <pre><code>SELECT * FROM tWidgets WHERE WidgetID=@0
      -&gt; @0 [Int32] = "2"
  </code></pre>
  
  <p>Is there an easy way to convert this to a format that will run in SQLServer?</p>