SomeFooGuy13
SomeFooGuy13
CC#
Created by SomeFooGuy13 on 3/26/2023 in #help
✅ 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