I need to compare just the date only in a Linq query that involves a datetime field. However, the syntax below results in the following error message
datetime
<
you must use System.Data.Entity.DbFunctions.TruncateTime
System.Data.Entity.DbFunctions.TruncateTime