Friday, May 10, 2019

Should all my users be populating the AspNetUsers table?

Sorry if this is a dumb question i'm still learning.

I am trying to implement a Table Per Concrete Type strategy. So I have made the EntityFramework generated class "ApplicationUser" abstract & created 2 derived classes "Student" & "Staff". However both Students & Staff both end up in the AspNetUsers tale. Is this OK or should they have their own individual tables (I think so?)

The "ApplicationUser" class i made abstract is derived from "IdentityUser" and i feel like this is where the AspNetUsers table comes from.

Should all my users be populating the AspNetUsers table? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team