Вы используете [ForeignKey ()] неправильно. Значение [ForeignKey ()] должно быть именем свойства, содержащего ключ ссылочного объекта.
Вы также должны пометить свойство, которое содержит ключ в указанном объекте, как закрытый ключ с помощью [Key]
Попробуйте это:
public class applicationUser : Identity
{
public int UserId {get; set;}
[ForeignKey("UserId")]
public User user {get;set;}
}
and then another class called User
public class User
{
[Key]
public int Id {get;set;}
public string Name {get;set;}
public string IdentityId {get;set;}
public ApplicationUser Identity {get;set;}
public string UserPicLocation {get;set;}
}