M:n relation are not added by default, you either need to define them in the Designer, or if you are on database first development, then you can set the "Auto add many to many relationships" setting in the Designer to true. This can be found under: Settings/Conventions/Entity Model/Database First Development/ Reverse Engineering
Then you should end up with a a navigator for the end of the relation (e.g. Product.OrderCollectionViaOrderDetails) which you can fetch via prefetchPath as well.
You will find the corresponding "prefetchPath-via" generated, for you to use.