Polymorphic cross-associations on Entity Framework
问题 OK, this is an interesting and most importably real urgent problem for me to solve... In order for others to neatly comprehend it, I've stretched myself to make a well illustrated post. The Object Model So I have this simple, easy and "beautiful" model in mind. See the first picture. (You can ignore PathEntry , it's not relevant in my situation.) The idea is that a MediaFeedItem owns: a collection of ThumbnailFileEntries (accesible through the ThumbnailFiles property) at most 1 raw FileEntry