dimanche 28 juin 2015

Customizing AspNet Identity Authentication DB objects

I am using Microsoft.AspNet.Identity.EntityFramework.IdentityDbContext class for authentication of my users. This is a new concept to me and it confuses me a lot.

By default it creates 5 tables with default names: AspNetRoles, AspNetUserRoles, AspNetUserLogins, AspNetUsers which I think are a bit forcing on the user and does not suit my architecture. Also I want to add more columns to the above mentioned tables.

Is there a way to change the table names and add new columns to the existing tables?

using VS 2013, SQL Server 2014 Express.

Aucun commentaire:

Enregistrer un commentaire