Relationship Foreign Key Errors

Dec 17, 2009 at 8:08 AM
Edited Dec 17, 2009 at 8:43 AM

I tried your generator but this don't creates the DataContext!

[EDITED]

I copied the generated DataContext from MS generator and used it in your file...Select is working.,

I'm having dificulties though with Updates and Inserts, something about the keys of my Tables.

"An attempt was made to remove a relationship between a "Table-Object" and a "Table-Object". However, one of the relationship's foreign keys ("Key") cannot be set to null." <-- it is not null though!

 

Any help?