Entity framework 6 Concept clear regarding Remove, RemoveRange, EntityState.Deleted
问题 I use Entity framework 6 in my projects and I always have doubts regarding some of the concepts which are used to delete objects using EF. I still don't know which one works in which scenario. I just try all and if one works I leave it until the code is working. But no wi need to understand this concept once and for all. I did my research my unable to understand the concept clearly. I have a domain class in EF which have multiple referencing entities. For example. I have a domain class called