How to map many-to-many relationships in Entity Framework CTP5?
问题 I'm trying to map 2 types (user -> languages) using 3 tables (user - junction table - languages), and looks like the modelBuilder is expecting both types to have a reference to each other (like user.languagesSpoken, and language.UsersSpeaking). So basically I can build something like modelBuilder.Entity<User>().HasMany(x=>x.LanguagesSpoken).WithMany(x=>x.UsersSpeaking) . I don't need a reference from language to user, however - and can't figure out how to map that.. Also, is there a way to