I want to using identity technology in MVC 5 with custom table , but i don't know how to do it . For example, my [user] table is
id primary key identity(1,1),
username nvarchar(50),
password nvarchar(50),
email varchar(100),
address nvarchar(100)
.... some information
how i can do ? thank for any help !
Finally , I did it ! if another have problem like me please read some links
Trying to change table names in ASP.NET Identity 2.0 http://www.codeproject.com/Articles/796940/Understanding-Using-and-Customizing-ASP-NET-Identi
You need using code first migrations for your model and update it using package console command
update-database
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With