When running my first asp.net mvc application I got this error I thought that entity framework automatically would create the keys of column names that end with Id? isnt it
You can add the [Key] atributte to the property ApplicantId or do it via Fluent API overriding OnModelCreating method DbContext
[Key]
ApplicantId
modelBuilder.Entity().HasKey(p => p.ApplicantId);