I was able to follow this tutorial:
I am able to add cols directly onto the AspNetUsers table however I was wondering if someone had any guidance on how to link a separate model/table.
ApplicationUser.Custom.cs:
namespace Project.Models
{
public partial class ApplicationUser
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string cellNumber { get; set; }
public IEnumerable<ConsentForm> myForm { get; set; }
}
}
I am able to get the first three properties onto the table however, nothing seems to allow me to get the ConsentForm associated with this user. Any help would be appreciated!