You are implementing a method that uses Entity Framework POCO entities. This method creates a new Product entity and proxy by using the ObjectContext's CreateObject method. You need to ensure that the Product is added to the data source when you call the ObjectContext's SaveChanges method.

What should you do?

 Posted by Rajkatie on 9/20/2012 | Category: ADO.NET Interview questions | Views: 1183 | Points: 40
Select from following answers:
  1. Call the ObjectContext's AddObject method.
  2. Call the ObjectContext's Attach method.
  3. Call the ObjectContext's DetectChanges method.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response