I work with Entity Framework and with 2 many-to-many relationship entities. I get an error on SaveChanges() when I try to associate the entities:
Guid guid = new Guid();
FileLine fl = new FileLine();
guid.FileLines.Add(fl);
fl.Guids.Add(guid);
dc.FileLines.AddObject(fl);
dc.Guids.AddObject(guid);
dc.SaveChanges();
Am I adding the associations correctly?