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?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Explanation:
IQueryable should be used when we want to filter the data.
E: IEnumerable books = db.Books.Where(b => b.CheckoutDate >= date)
D is correct.
Yeah