Please help. I am trying to figure out how to use DATE or DATETIME for comparison in a linq query.
Example: If I wanted all Employee names for those who started befo
use a local variable to store the Date value and then use that variable in the query:
DateTime today = DateTime.Now.Date; from scheme in context.schemes where scheme.EndDate > today select scheme