Can someone explain what is the difference between those two? When is it better to use each of these methods and why?
SaveChanges
it's deleted from the dbDbContext
change tracker so whatever you do with the entity DbContext
doesn't notice. So when you do SaveChanges
nothing happens with this entity