SomeFooGuy13
✅ EfCore Question: Calling .SaveChanges() between a .Remove() and .Add()
Using efcore 6....if im doing a .Remove() and then a .Add(), do I need to call .SaveChanges() in between?
So
.Remove()
.SaveChanges()
.Add()
.SaveChanges()
or can I skip the .SaveChanges() between add and remove, and just do
.Remove()
.Add()
.SaveChanges()
?
Thx!
5 replies