Created
January 19, 2016 15:34
-
-
Save theuntitled/38e136e8f222494d5971 to your computer and use it in GitHub Desktop.
Nice table names for the IdentityFramework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modelBuilder.Entity<ApplicationUser>().ToTable("Users"); | |
modelBuilder.Entity<IdentityUserRole>().ToTable("UserRoles"); | |
modelBuilder.Entity<IdentityUserLogin>().ToTable("UserLogins"); | |
modelBuilder.Entity<IdentityUserClaim>().ToTable("UserClaims"); | |
modelBuilder.Entity<IdentityRole>().ToTable("Roles"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment