3 references to AcceptAllChanges
System.Data.Entity (1)
System\Data\Objects\ObjectContext.cs (1)
2426
AcceptAllChanges
();
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceView.cs (2)
511
Context.
AcceptAllChanges
(); //Puts modifiedEntityWrapper into unchanged state.
624
Context.
AcceptAllChanges
(); //Force the entity just added into unchanged state. Wrapped entities must be tracked.