Suite: Fix the problem when same entity is used for 1-m and m-m relations #12906
resolves #12485
@gizemmutukurt Can you test this for MVC, Blazor and Angular UI types? Database provider doesn't matter, but you can create one of the test projects with MongoDB.