ExecuteNonQuery Returns Incorrect Row Count for DELETE Operations
Understanding the Discrepancy Between Expected and Reported Affected Rows The core issue involves the ExecuteNonQuery method in the system.data.sqlite wrapper (version 1.0.115.0) returning an incorrect number of affected rows after executing a DELETE FROM tableName statement. Users observe that the returned count exceeds the actual number of deleted rows, with the discrepancy increasing as the…