AmbassadorSpock
asked on
[ForeignKey] not working in System.ComponentModel.DataAnnotations
I am using System.ComponentModel.Data Annotation s in MVC 4 and I am able to specify [Key] for the primary key but [ForeignKey] does not come up in the intellisense nor can I just type in [ForeignKey] without getting an error. Nothing that I have found yet directs me to a possible solution.
Can anyone help?
Can anyone help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.