Microsoft Exam Questions

Which CommandBehavior type should you use?

You are developing an ASP.NET MVC application that displays a report. The report includes
large images that are stored in a database. Members of the EntityClient namespace are
used to access the database through the ADO.NET Entity Framework data model.
You need to prevent memory exceptions while generating a report using the
EntityDataRcader type.
Which CommandBehavior type should you use?

A.
FastForwardReadOnly

B.
SequentialAccess

C.
SingleResult

D.
SingleRow

Explanation: