You are developing an ASP.NET MVC application. The application is a loan processing
system that uses the ADO.NET Entity Framework against a SQL Server database. It has a
controller that loads a page that displays all loans along with rate information. Lazy loading
has been disabled.
The Loan class is shown below.
You need to return the loans and rate information in a single round trip to the database.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
b
B – https://msdn.microsoft.com/en-us/library/bb738708(v=vs.110).aspx
better explanation https://msdn.microsoft.com/en-us/data/jj574232.aspx
Should be B.
Seconded!