You are implementing an N-tier application. You configure your application to use the ADO.NET Self-Tracking Entity Generator Template to generate self-tracking entities from an Entity Data Model. You add a Windows Communication Foundation service method that takes a Person entity object parameter. In this service method you create an ObjectContext object. You need to easily infer the set of operations that needs to be performed to reflect the changes made to the Person entity object.
What should you do?

 Posted by Rajkatie on 8/29/2012 | Category: ADO.NET Interview questions | Views: 2105 | Points: 40
Select from following answers:
  1. Call the ObjectContext's SaveChanges method.
  2. Query the ObjectStateManager object given by the ObjectContext's ObjectStateManager property.
  3. Call the template-generated ApplyChanges extension method with the ObjectContext.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response