Tuesday 21 August 2018

ADDING FIELD TO ASPNETUSERS TABLE IN ASP.NET MVC

IdentityModels.cs
public class ApplicationUser : IdentityUser
{
public string First_Name { get; set; }
public string Last_Name { get; set; }
public Address { get; set; }
}

then perform
add-migration UserRegister
update-database
it will add Fields to AspNetUsers Table

No comments:

Post a Comment

How to find a string within a jQuery or javascript string

Sometimes, you required to find a the existence of a small string with in a string. This article will  demonstarte , how could you do by...