One of the biggest breaking changes that EF Core did was to explicitly disallow such generated queries that required application-side evaluation and could not get compiled to pure SQL (you can get other behavior back with a toggle but it is discouraged).
I strongly believe it is wrong to do otherwise and is a source of numerous footguns unless you invest in tracking them down.