I have an SQL table with the following design:
TableSchedule:
Id
Description
ImportedDate
I can import a large number of elements, and all of them will have the same ImportedDate.
How can I write a LINQ query that only captures records with the latest ImportedDate?
var ResultSchedule =
from a in Db.TableSchedule
where a.ImportedDate == (Newest?)
source
share