You need to use EDM TruncateTime canonical function. Take a look at this thread on stackoverflow: http://stackoverflow.com/questions/14444267/entity-framework-datetime-vs-sql-server-date. Note that in EF6 functions were moved to DbFunctions class.
↧
You need to use EDM TruncateTime canonical function. Take a look at this thread on stackoverflow: http://stackoverflow.com/questions/14444267/entity-framework-datetime-vs-sql-server-date. Note that in EF6 functions were moved to DbFunctions class.