You are implementing an application that uses Entity Framework. You load an Order entity by querying the Orders property of a strongly typed ObjectContext. After you modify the Order entity, you need to compare a current property value with the cached original property value.

What should you do?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 1067 | Points: 40
Select from following answers:
  1. Query the ObjectStateManager object given by the ObjectContext's ObjectStateManager property.
  2. Call the TryGetObjectByKey method on the ObjectContext.
  3. Call the Attach method on the ObjectContext.
  4. All Above

Show Correct Answer

Source: | | Alert Moderator 

Comments or Responses

Login to post response