Good afternoon, I have the following relational diagram
I have a problem, when deleting a record from the table Tbl_Horarios does not leave me, because it is related to more than one record in the Tbl_DetalleHorario table.
How can I do so that when I delete a record from the Tbl_Horarios table I also delete all the records that are related from the Tbl_DetalleHorario table with the record I want to delete from the Tbl_Horarios table.
I'm using entity framework on asp.net mvc c #