Entity Framework 4.1 InverseProperty Attribute
问题 Just wanted to know more about RelatedTo attribute and I found out it has been replaced by ForeignKey and InverseProperty attributes in EF 4.1 RC. Does anyone know any useful resources about the scenarios that this attribute becomes useful? Should I use this attribute on navigation properties? example: public class Book { public int ID {get; set;} public string Title {get; set;} [ForeignKey(\"FK_AuthorID\")] public Author Author {get; set;} } public class Author { public int ID {get; set;}