fix: eliminate multi-save in batch Add and DeleteAsync(TEntityId) #10

Merged
agrynco merged 1 commits from IT-631-fix-delete into development 2026-05-06 12:45:10 +03:00

1 Commits

Author SHA1 Message Date
Anatolii Grynchuk 93461fd35e fix: eliminate multi-save in batch Add and DeleteAsync(TEntityId)
- Add(TEntity[]) now passes save:false in the loop and calls SaveChanges once at the end
- DeleteAsync(TEntityId) now calls DoRemove directly instead of Delete(TEntityId) to avoid the double-save from the sync overload chain

Ref: #IT-631
2026-05-06 12:43:27 +03:00