Using this code in Entity Framework I receive the following error. I need to get all the rows for a specific date, DateTimeStart is of type Dat
DateTimeStart
Use the bellow code for using EF6:
(DbFunctions.TruncateTime(x.User.LeaveDate.Value)