Select from following answers:- SaveChanges
- Refresh
- DetectChanges

- All Above
The ObjectContext's DetectChanges method ensures that ObjectStateEntry changes are synchronized with changes in all objects that are tracked by the ObjectStateManager. Call this method when you are using POCO entities without proxies to ensure that changes are synchronized.
The ObjectContext's SaveChanges method writes changes to the data source. This method does not ensure that ObjectStateEntry changes are synchronized with changes in all objects that are tracked by the ObjectStateManager. Changes must be synchronized before the SaveChanges method is called.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator