EF core 3 query LastOrDefault on entity with OwnsOne cannot translate expression · Issue #19583 · dotnet/efcore

In EF Core 3.1: calling LastOrDefault(), Last(), LastOrDefaultAsync() or LastAsync() on entity with OwnsOne throws InvalidOperationException. FirstOrDefault is working. Steps to reproduce I have a ...