So far, EF Core 5 has been quite handy to reduce the clutter a Many-to-Many would cause. However, I’m currently trying to update an older project and I’ve come across something that I feel like could be a lot simpler, but I’m not too sure.

It is about a system where users can place Orders containing a certain amount of items. This translates to the following classes:
Without that Amount in there, it would be hilariously simple. Can this be simplified?

If your relationship has properties of its own than this is the correct way to do it.
Not really sure what you’re asking. Looks ok.
It works, I’m just wondering if it can be simplified in any way, given the changes to Many-to-Many.

source