title: Getting the content of DynamicParameters in Dapper
body: <p>We are migrating databases from Oracle to MySQL.
  Oracle and MySQL use a different character for the bind variables <code>@</code> and <code>:</code>.
  We are using Dapper to query the database. We pass in DynamicParameters into Dapper and the bind variables work.</p>
  
  <p>What I want to be able to do is go through the DynamicParameters and look at the name of the value and change the character on the front and then replace it in the SQL string as well. I know how I would do this.</p>
  
  <p>The problem I have is that you cannot enumerate the DynamicParameters to get the key and value. </p>
  
  <p>My ideas is to try and get hold of the private <code>&lt;string, DynamicParameters.ParamInfo&gt; parameters</code> field at runtime using reflection. I can't work out how to make it work as <code>DynamicParameters.ParamInfo</code> is a private class.</p>
  
  <p>Any ideas on what I could do?</p>