Well, I have one-to-many related model:
public class Parent
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<
This is called "deleting orphans".
Can EF automatically delete data that is orphaned, where the parent is not deleted?
I don't know how it works in EF6 but in EF Core it works fine https://docs.microsoft.com/en-us/ef/core/saving/cascade-delete so you don't necessarily need to delete the parent for cascades to work.
Delete orphans examples