If given a an entity with a datetime as a string... what are my options to filter the data with Linq to Entities on the date?
It does not seem to support me doing datetime conversions.
Basically, I want to accomplish:
var filtered = from item in entities.itemsSet
where Convert.ToDateTime(shift.starttime) >= startDate
&& Convert.ToDateTime(shift.endtime) < endDate
select item;
What are my options to accomplish this?