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:
SequentialAccess
Provides a way for the DataReader to handle rows that contain columns with large binary values. Rather
than loading the entire row, SequentialAccess enables the DataReader to load data as a stream.