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
Owner
  • 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

- `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
agrynco added 1 commit 2026-05-06 12:45:01 +03:00
- 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
agrynco merged commit 1edcafdebd into development 2026-05-06 12:45:10 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hrynco/hrynco-ef#10