I have a database table, UserInfo. It is an extension of ASP.NET's built-in aspnet_Users table. UserId in the UserInfo table is a foreign key to UserId in the aspnet_Users table.
I have a account registration view model with the following fields: First Name, Last Name, Phone Number, User Name, Email Address, Password, Confirm Password
User Name, Password, and Confirm Password are already taken care of using ASP.NET's built-in Membership.
I would like to add First Name, Last Name, and Phone Number to the UserInfo table as well as reference the UserId from the aspnet_Users table when the account is created. I thought about if MembershipCreateStatus is a success, add the additional info to the UserInfo table with a reference to its UserId.
How do I add the info to the UserInfo table while making reference to its associated UserId in the aspnet_Users table? Is there a better way to approach this?