title: What is the fastest code to call multiple stored procedures?
body: <p>Solution 1 :</p>
  
  <pre><code>foreach (var item in itemList)
  {
     myContext.ExecuteStoreCommand("EXEC MyProc {0};", item); // Insertion
  }
  </code></pre>
  
  <p>or </p>
  
  <p>Solution 2 :</p>
  
  <pre><code>StringBuilder sb = new StringBuilder();
  foreach (var item in itemList)
  {
     sb.AppendLine(String.Format("EXEC MyProc {0};", item)); // Insertion
  }
  myContext.ExecuteStoreCommand(sb.ToString());
  </code></pre>