title: Cannot insert multiple objects without calling SaveChanges() every time
body: <p>I'm trying to add several objects to the DB with EF ObjectContext without calling the <code>SaveChanges()</code> after each add. Problem is that only the last added object is committed to the DB.</p>
  
  <pre><code>using (var entities = new ModelEntities())
  {
      foreach (service in services)
      {
         entities.Services.AddObject(service);
      }
      entities.SaveChanges();
  }
  </code></pre>
  
  <p>When I call the <code>SaveChanges()</code> method directly after <code>AddObject</code> all objects are inserted but performance is affected. What am I doing wrong?</p>
  
  <p>Thanks.</p>