4 writes to _rowsAffected
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (4)
1605
_rowsAffected
= -1;
4111
_rowsAffected
= -1;
6062
_rowsAffected
= value;
6065
_rowsAffected
+= value;
13 references to _rowsAffected
System.Data (13)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (13)
1200
return
_rowsAffected
;
1538
return
_rowsAffected
;
1577
return
_rowsAffected
;
5018
_sqlRPCParameterEncryptionReqArray[_currentlyExecutingDescribeParameterEncryptionRPC].cumulativeRecordsAffected =
_rowsAffected
;
5021
(((0 < _currentlyExecutingDescribeParameterEncryptionRPC) && (0 <=
_rowsAffected
))
5022
? (
_rowsAffected
- Math.Max(_sqlRPCParameterEncryptionReqArray[_currentlyExecutingDescribeParameterEncryptionRPC - 1].cumulativeRecordsAffected, 0))
5023
:
_rowsAffected
);
5056
_SqlRPCBatchArray[_currentlyExecutingBatch].cumulativeRecordsAffected =
_rowsAffected
;
5059
(((0 < _currentlyExecutingBatch) && (0 <=
_rowsAffected
))
5060
? (
_rowsAffected
- Math.Max(_SqlRPCBatchArray[_currentlyExecutingBatch-1].cumulativeRecordsAffected, 0))
5061
:
_rowsAffected
);
6058
return
_rowsAffected
;
6061
if (-1 ==
_rowsAffected
) {