title: Calling stored procedures with parameters in PetaPoco
body: <p>I want to be able to call a stored proc with named parameters in PetaPoco. </p>
  
  <p>In order to call a stored proc that does a search/fetch:</p>
  
  <p>Can I do something like this:</p>
  
  <pre><code>return db.Fetch&lt;Customer&gt;("EXEC SP_FindCust",
  new SqlParameter("@first_name", fName),
  new SqlParameter("@last_name", lName),
  new SqlParameter("@dob", dob));
  </code></pre>
  
  <p>Also, how can I call a stored proc that does an insert?</p>
  
  <pre><code>return db.Execute("EXEC InsertCust @CustID = 1, @CustName = AAA")
  </code></pre>
  
  <p>Thanks,
  Nac</p>