What’s the difference between, _context.SaveChanges and _context.AcceptAllChanges(), is the AcceptAllChanges() is sort of reloading data from Database or rolling back (discarding) changes made by the user when he didn’t use SaveChanges()
What’s the difference between, _context.SaveChanges and _context.AcceptAllChanges() , is the AcceptAllChanges() is sort of
Share
ObjectContext.AcceptAllChanges Method – MSDN
You may see this: http://blogs.msdn.com/b/alexj/archive/2009/01/11/savechanges-false.aspx