We have upgraded from EF4x+MSSQL to EFCore3x+PostgreSQL and the query below started throwing errors.
The LINQ expression \'DbSet .Where(