PrepAway - Latest Free Exam Questions & Answers

Category: 70-487 (v.1)

Exam 70-487: Developing Windows Azure and Web Services (update August 15th, 2013)

Which code segment should you use?

You are developing an ASP.NET MVC application. The application is an order processing system that usesthe
ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays
all orders along with customer information. Lazy loading has been disabled. The Order class is shown below.

You need to return the orders and customer information in a single round trip to the database. Which code
segment should you use?

Which Visual Studio 2012 menu item should you choose?

HOTSPOT
You are supporting an application that uses the ADO.NET Entity Framework to query and access data. The
latest version of Entity Framework contains bug fixes that will improve performance. You need to update Entity
Framework. Which Visual Studio 2012 menu item should you choose? (To answer, select the appropriate
menu item in the answer area.)

Which code segment should you use as the body of the SaveChanges() method in the FlightInfoContext.es file?

Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context.
Updates to the data are being lost when an error occurs. You need to ensure that data is still saved when an
error occurs by retrying the operation. No more than five retries should be performed. Which code segment
should you use as the body of the SaveChanges() method in the FlightInfoContext.es file?


Page 5 of 7« First...34567