I have just started a new project using a Linq to Sql model and I'm implementing our first many to many relationship. I have found this blog that gives great info on how implement this:
When I try to add some child objects in and then remove one before saving I get an error,
System.InvalidOperationException: Cannot remove an entity that has not been attached.
Any ideas? Someone has already commented on this to the author of the blog, but there has been no response.
Much appreciated!