I hade a really strange problem with a LINQ to SQL diagram today. I added an association between two classes and everything looked perfectly fine in the designer, but there were no code generated for the association. After some frustrating hours I found a blog post written by Bart Lannoeye that saved me. Read it since he also has very claryfing pictures.
THe problem was that my classes had no primary keys since they were generated from views.