Код: Выделить всё
var test = (...
where ...
&& test.SL.Any(line =>
line.ServiceCode == serviceCode
&& line.DateOfServiceStart >= dateOfServiceStart
&& (line.DateOfServiceEnd == null || line.DateOfServiceEnd , чем 1 апреля 2024 г., почему он возвращает результаты?
Подробнее здесь: [url]https://stackoverflow.com/questions/78704629/linq-query-dateonly-fields-returning-results-on-comparing-dates[/url]
Мобильная версия