Recently I\'ve been upgrading an EF Core 2.x application to EF Core 3.1.x In the 2.x codebase attributes on entities were used to define relationships, whereas in the 3.1 ve