Closed Simson43 closed 2 weeks ago
Use the following workaround before fix:
context.Departments
.Where(x => !x.Employees.Any(y => y.Date == DateTime.Now && y.IsActive))
.ToLinqToDB()
.Count();
yes there are workarounds but would be nice to support such methods in the future versions thanks much!
Cannot reproduce. Please reopen if you still observe this issue with additional details like used database type and generated SQL
FirstOrDefault and the same methods dont work this (very simplified) example returns always 0:
Version 3.17.0 EFCore3