Commit bac390e
Remarks for ExecuteNonQuery additional reasons to return -1 (#1876)
* Remarks for ExecuteNonQuery additional reasons to return -1
Added a remark to ExecuteNonQuery for an additional reason for it to return -1 (the connection's NO COUNT is ON).
* Applying the changes suggested by @divega
Applying the changes suggested by @divega, to make it super clear how the NOCOUNT and other circumstances may affect the number of affected rows return by ExecuteNonQuery.
* Update xml/System.Data.SqlClient/SqlCommand.xml
Co-Authored-By: joelpaula <joelpaula@hotmail.com>1 parent 126f205 commit bac390e
1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2383 | 2383 | | |
2384 | 2384 | | |
2385 | 2385 | | |
2386 | | - | |
2387 | | - | |
2388 | | - | |
2389 | | - | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
| 2395 | + | |
2390 | 2396 | | |
2391 | 2397 | | |
2392 | 2398 | | |
| |||
3794 | 3800 | | |
3795 | 3801 | | |
3796 | 3802 | | |
3797 | | - | |
| 3803 | + | |
0 commit comments