How do I use System.ComponentModel.DataAnnotations.AssociationAttribute
问题 Some time ago I asked this question: What is the purpose of each of the System.ComponentModel.DataAnnotations attributes? However, I had no luck with getting replies. This question was a bit broad in the sense that it asked for documentation about every dataannotation attribute. At this moment, I am mostly interested in the Association attribute. I am using ASP.NET MVC3 with Entity Framework 4 and would like to annotate my POCOs. I am using foreign keys in my POCOs (somehow feels wrong, but