You define a LINQ query to retrieve entities from your database. You want to reuse the query result set multiple times without executing the query each time this result set is accessed.

What should you do?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 1144 | Points: 40
Select from following answers:
  1. Save the return value of the query's ToList method.
  2. Set the ObjectTrackingEnabled property of the DataContext to True.
  3. Use a compiled query.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response