public void AcceptAllChanges() { if (this.ObjectStateManager.SomeEntryWithConceptualNullExists()) { throw new InvalidOperationException(System.Data.Entity.Strings.ObjectContext_CommitWithConceptualNull); } foreach (ObjectStateEntry entry in this.Obje…