Of course, the IdentityUserRole class in the ASP.NET Identity Framework is used to map roles to an user since there is a many-to-many relationship. But I do not grasp why this mapping is done explicitly if the Entity Framework already provides a mechanism to resolve many-to-many relations automatically. Can someone explain me the architectural reason for this?
↧