title: Executing multiple DbCommands in an open connection with Enterprise Library
body: <p>How can you execute multiple DbCommands with one connection?</p>
  
  <p>Example:</p>
  
  <pre><code>var db = DatabaseFactory.CreateDatabase();
  var dbCommand = db.GetSqlStringCommand(InsertCommandText);
  ...
  db.ExecuteNonQuery(dbCommand);
  </code></pre>
  
  <p>Now, I want to be able to Execute multiple dbCommands. For instance in pseudo kind of code:</p>
  
  <pre><code>var db = DatabaseFactory.CreateDatabase();
  var dbCommand1 = db.GetSqlStringCommand(InsertCommandText);
  ...
  var dbCommand1 = db.GetSqlStringCommand(InsertCommandText);
  ...
  Adding both commands to db
  Executing them
  </code></pre>