Select from following answers:- Call the ObjectContext's SaveChanges method.

- Call the ObjectContext's AcceptAllChanges method.
- Call an ObjectContext method that maps to an imported function.
- All Above
The Entity Framework enables you to specify stored procedures to be used when modifying entity data. These stored procedures replace the methods generated by the Entity Framework. Stored procedures are called implicitly, so no changes are required to the data model defined in the conceptual schema or existing application code. Simply call the ObjectContext's SaveChanges method and your mapped stored procedures will be called instead of the method generated by the Entity Framework.
The ObjectContext's AcceptAllChanges method accepts the changes on all associated entries in the ObjectStateManager so their resultant state is either unchanged or detached. It does not persist any changes to the data source, including changes made by mapped stored procedures.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator