Linq deleteonsubmit only deletes relation Code Example
linq deleteonsubmit only deletes relation
'go to the foreign key relation for the table you are trying to delete the row from
'under "INSERT And UPDATE Specifications", set the "Delete Rule" property to "Cascade"