c# Linq statement needed to delete records from 2 tables
Say I have to tables that are related by and ID (int) in a one to many join. I want a linq statement to delete the one row with a certain ID in the “masterTable” and all the child records with the same ID in the “ChildTable”
Yes I already have a cascade delete rule in my database schema but have not written any code yet