Farther extending ApplicationUser class in ASP.NET MVC5 Identity system

后端 未结 2 1344
谎友^
谎友^ 2021-01-12 04:58

I\'m creating a simple application for university where a student can make some type of request which is then processed by an employee of particular speciality.

I wo

2条回答
  •  不要未来只要你来
    2021-01-12 05:26

    @Dragonheart: I tried this repro and it would work fine if you remove the DBSet declarations in you context class. The IdentityDbContext would handle you TPH pattern and add a Discriminator column in the table to differentiate the child classes.

提交回复
热议问题