Description
A method that reads data and then writes based on that data without a transaction is vulnerable to race conditions. Another connection could modify the data between the read and write. Use BeginTransaction/BeginTransactionAsync to ensure isolation.Properties
- Category: Reliability
- Severity: Warning
- Enabled by default: True
- Code fix available: False
