title: How can I create IDataParameter in a function and return it?
body: <p>I don't know how this question is correct but my project condition is that I need a function that get value and parameter name and return a Parameter for using in some commands.
  <br>
  The prototype that I am thinking on it is like this :
  <br></p>
  
  <pre><code>public IDataParameter CreateParameter(string parameterName, object value)
  </code></pre>
  
  <p>Is this anyway to do that ? </p>