You use the Entity Data Model Wizard to generate an Entity Data Model from an application database. A Customer entity includes an Orders property that gives related Order instances. You need to ensure that orders given by the Orders property are retrieved when the Customer entity is retrieved.

What should you do?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 2705 | Points: 40
Select from following answers:
  1. Use the Include method on the ObjectQuery object.
  2. Create an ObjectContext within each service method. Execute queries with the MergeOption set to AppendOnly.
  3. Set the LazyLoadingEnabled property of the ObjectContextOptions associated with the ObjectContext to False.
  4. All Above

Show Correct Answer

Source: | | Alert Moderator 

Comments or Responses

Login to post response