You are developing an order processing application that uses the Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered based on the category of the product in each order.
You need to return orders with their filtered list of order details included in a single round trip to the database.
Which code segment should you use?
A.
B.
C.
D.
C -
dosper
Highly Voted 5 years, 6 months agodosper
5 years, 6 months agotiger25
5 years, 4 months agoDreamchaser1980
4 years, 8 months agoUweJ
Most Recent 5 years, 1 month agoUweJ
5 years, 1 month agorj001
5 years, 4 months agoMaverickCalibre
5 years, 5 months agobobtables
5 years, 6 months agobobtables
5 years, 6 months agotiger25
5 years, 4 months agoNatali
5 years ago