title: What effect do the different EF 4 SaveOptions have on the ObjectContext?
body: <p>I'm trying to resolve an error very similar to the one outlined here:</p>
  
  <p><a href="https://stackoverflow.com/questions/1008582/invalidoperationexception-when-calling-savechanges-in-net-entity-framework">InvalidOperationException when calling SaveChanges in .NET Entity framework</a></p>
  
  <p>It appears that the solution (which I have not tried yet, admittedly) is to pass System.Data.Objects.SaveOptions.None as the SaveOptions parameter for the SaveChanges() method.</p>
  
  <p>So before I do that, I'm trying to understand exactly how the different SaveOptions work (None, AcceptAllChangesAfterSave, DetectAllChanges).  I haven't been able to find a clear explanation of it however, nor am I sure what the default is.  Can anyone clarify?  </p>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE:</strong>  I have posted the actual problem question here: <a href="https://stackoverflow.com/questions/4675603/system-invalidoperationexception-when-trying-to-iteratively-add-objects-using-ef">System.InvalidOperationException when trying to iteratively add objects using EF 4</a></p>