How is the difference between add or delete an entity from the dbSet and from local property?
When I want to delete a property, I have two options: myDbContext.MyType.Add(myEntity); myDbContext.MyType.Local.Add(myEntity); In both cases, at least in my case, don't see differences, but I don't know really if it has a different behavior or not. Is it really the same or not? Thanks. Based on documentation of methods: myDbContext.MyType.Add(myEntity); /// Begins tracking the given entity, and any other reachable entities that are /// not already being tracked, in the <see cref="EntityState.Added" /> state such that /// they will be inserted into the database when <see cref="SaveChanges()" /