You add code that modifies Entity Framework POCO entities with proxies. You need to create a POCO entity named Customer and ensure that it will be inserted when you call the SaveChanges method of the ObjectContext.

What should you do?

 Posted by Rajkatie on 9/13/2012 | Category: ADO.NET Interview questions | Views: 1524 | Points: 40
Select from following answers:
  1. Call the Attach method on the EntitySet or ObjectContext.
  2. Create the Customer using its new operator.
  3. Add the Customer to the related entity collection and Create the Customer using the CreateObject method.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response