Last post Feb 09, 2015 01:48 AM by Michelle Ge - MSFT
Feb 05, 2015 02:44 AM|Chris17|LINK
In VS 2013, when I choose the individual auth., VS generates an authentication platform for me.
The structure of my data is in such a way that I have different types of Users, so I want to apply inheritance to the model so I can have different class for the User types.
How can I possible achieve this, or which class manages the user model in MVC so I can inherit from it.
Feb 09, 2015 01:48 AM|Michelle Ge - MSFT|LINK
According to your description, you want to implement Inheritance in User Model. So far as I know, you can implement Inheritance with Entity Framework.
There is a document about Implementing Inheritance with the Entity Framework 6 in an ASP.NET MVC 5 Application (11 of 12), please refer to the link below:
Hope it's useful for you.