Select from following answers:- Call the ObjectContext's SaveChanges method.
- Query the ObjectStateManager object given by the ObjectContext's ObjectStateManager property.
- Call the template-generated ApplyChanges extension method with the ObjectContext.
- All Above
The ADO.NET Self-Tracking Entity Generator template generates a typed ObjectContext and an extension class that contains ApplyChanges methods for the ObjectContext and ObjectSet classes. These methods examine the change tracking information that is contained in the graph of self-tracking entities to infer the set of operations that needs to be performed to save the changes in the database.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator