I have a Where clause that looks like this:
where p.Appoint.Date > TheStartTime.Date && p.Appoint.Date < TheEndTime.Date
For some reason, it’s returning 0. However, if I write this
where p.Appoint.Date == TheStartTime.Date
it returns a count (not the one I want though). What am I doing wrong?
Thanks for your suggestions.
ok, I got it: