linq deleteonsubmit only deletes relation code example
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"