I’m relatively new to the Entity Framework and I’d like to do a query that includes a link table. Any suggestions on how to do a basic join query using LINQ?
Entity Structure
News
NewsID
CommunityNews
CommunityID
NewsID
Community
CommunityID
If you’re generating the context from a database using the EDMX editor, and you have the appropriate foreign key constraints set up, you should be able to just add those three tables to the context, and it will create a many-to-many mapping between
NewsandCommunity.