title: Difference between LinqToSQL InsertOnSubmit and InsertAllOnSubmit
body: <p>I have a question about LINQ to SQL.</p>
  
  <p>What is faster:</p>
  
  <pre><code> public void CreateLocationImages(IEnumerable&lt;LocationImage&gt; list)
      {
  
          _db.LocationImages.InsertAllOnSubmit(list);
  
          _db.SubmitChanges();
  
      }
  </code></pre>
  
  <p>or</p>
  
  <pre><code> public void CreateLocationImages(IEnumerable&lt;LocationImage&gt; list)
      {   
          foreach (LocationImage item in list)
          {
              _db.LocationImages.InsertOnSubmit(item);
          }
          _db.SubmitChanges();
      }
  </code></pre>
  
  <p>or maybe there is no difference ?</p>