Select from following answers:- Call the AcceptChanges method of the ObjectContext and retrieve a new Order entity by querying the Orders property.
- Call the GetObjectByKey method of the ObjectContext to retrieve a new Order entity.
- Call the Refresh method of the ObjectContext and retrieve a new Order entity by querying the Orders property.

- All Above
The ObjectContext.Refresh method updates an object in the object context with data from the data source. Call this method to reset object properties to those in the data source.
The ObjectContext.GetObjectByKey returns the object that has the specified entity key. The object will have modified property values. It does not retrieve an entity with properties reset to data source values.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator