views:

16

answers:

0

I have a nullable foreign key in a database table. I want to create a relationship in Linq2Sql, but it doesn't allow me to create an association with a nullable foreign key and if i change the nullable value to FALSE within Linq2Sql the query crashes when a null is found. This should be creating a null child object, which should be fine. Is there a way to handle this within L2S?