Navigation Properties as Primary Keys
问题 I'm using EF 6 with MVC 5. I have a class defined as follows: public class ConEdSignup { [Key, Column(Order = 0)] public virtual ApplicationUser Attendee { get; set; } [Key, Column(Order = 1)] public virtual ConEdSession ConEdSession { get; set; } [Required] public DateTime SignupTime { get; set; } [Required] public bool Attended { get; set; } } This is basically a link table for a many-to-many relationship where I have additional properties about that relationship. When I try to create a