Wierd behaviour with LINQ to SQL designer (bug????)

This is odd. Have a test table with an id and name field no primary key was set as it was a quick test hack. Pulled the table into the LINQ Designer and noticed none of the validation partial methods were there. There was no OnnameChanged. Nowhere. After banging my head I made ID a primary key and boom everything decided to appear.

Is this a bug or me being stupid?


Update 20071209

After having thought about this some more I can now see why this might be the case. Without a primary key you cannot Update/Insert/Delete so what would the point in having any of these notifications.

 

Stefan

4 Comments

Comments have been disabled for this content.