"Doubt is uncomfortable, certainty is ridiculous." - Voiltaire

Answer by jfar for Problem with Linq2Sql Many-to-Many relationship & Inserting new objects.

Answer by jfar for Problem with Linq2Sql Many-to-Many relationship & Inserting new objects.
StackOverflow.com

Many to Many relationships aren’t supported in Linq2Sql. :(

There are a couple of workarounds:

http://www.iaingalloway.com/many-to-many-relationships-in-linq-to-sql

http://blogs.msdn.com/mitsu/archive/2008/03/19/how-to-implement-a-many-to-many-relationship-using-linq-to-sql-part-ii-add-remove-support.aspx

Weird that the picture of your db schema is the same as one of the articles…


 
 
 

Leave a Reply