Which code segment should you use?
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?
Which code segment should you use?
You are developing a library management application that uses the ADO.NET Entity Framework against a
SQL Server database. The application has a method that returns check outs filtered by date.
The Book class is shown below.
You must filter the data on the SQL server before it is returned to the application server.You need to return books checked out more recently than the entered date.
Which code segment should you use?
You need to create a duplex contract
You are developing a WCF service.
You need to create a duplex contract.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)