I have Windows Phone app with Table A and Table B has primary - foreign key relationship. I need to remove an entry from Table A. How do I do this?
Table A contains objects of type Shape and has field ShapeColor. Table B has objects of type ShapeColor.
When I try to delete Shape from Table A using DeleteOnSubmit followed by SubmitChanges throws an exception
"{"The primary key value cannot be deleted because references to this key still exist. [ Foreign key constraint name = ShapeColor_Shape ]"}
tableA
before or after that oftableB
? – Gert Arnold Dec 31 '12 at 10:59