How to change table names in ASP.net Identity 3.0?
I have searched but I didn't get any workable write up for Identity 3.0
and this How can I change the table names used by asp.net identity 3 (vnext)? is not working.
How to change table names in ASP.net Identity 3.0?
I have searched but I didn't get any workable write up for Identity 3.0
and this How can I change the table names used by asp.net identity 3 (vnext)? is not working.
You can do this easily by changing the entity mapping with extension method
ToTable("TableName")
onOnModelCreating
of yourDbContext
:The only catch here is to remember to use the generics with the type of your identifier (string is default on AspNetCore.