IdentityRole in multi-tenant application

后端 未结 1 1417
感动是毒
感动是毒 2021-01-07 09:03

I am building an ASP.NET MVC 5 multi-tenant solution and have a slight problem when it comes to roles. I have created a custom role entity as follows:

public         


        
1条回答
  •  伪装坚强ぢ
    2021-01-07 09:34

    OK I've solved this. The answer is to firsrtly follow all the updates I added in my original post and then the final thing to do was make my ApplicationDbContext inherit from IdentityDbContext instead of just IdentityDbContext

    0 讨论(0)
提交回复
热议问题