title: How to create DbCommand
body: <p>I'm using a method in the EnterpriseLibrary.Data.Database namespace called</p>
  
  <pre><code>public virtual object ExecuteScalar(DbCommand command)
  </code></pre>
  
  <p>I'm wanting to use this method to execute a scalar-valued function. However the I'm not sure how to even create the DbCommand.</p>
  
  <p>Could someone please tell me how to create it because it won't let me instantiate it.</p>
  
  <p>Thanks!</p>