Skip to content

Bug: Calling to 'DeleteAll' operation with the list of PrimaryKeys and Transaction object is failing. Reported by Christian Franck. #404

@mikependon

Description

@mikependon

The library is automatically committing or rollbacking the transaction when the DeleteAll operation is being called with the list of primary keys and transaction object.

The case was reported by Christian Franck of Orsted.

var rowsDeleted = connection.DeleteAll<OutagePeriod>(primaryKeys, transaction);

The author has investigated and it is a single-liner bug in RepoDb. The fix must be done at this line.

Set to 'false' value instead.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdeployedFeature or bug is deployed at the current releasepriorityTop priority feature or things to do

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions