- Linq comparison. Unable to convert MySQL date/time value to System.DateTime
- (from s in _db. ....
- < joins >
- where ( ... )
- && (
- (s.StartDate<= DateA && s.EndDate>DateB)
- || (s.StartDate > DateA && s.EndDate <= DateB)
- || (s.StartDate <= DateB&& s.EndDate > DateB)
- )
- orderby s.StartDate
- select < ....>
- );