3 writes to _currentlyExecutingBatch
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
5081
_currentlyExecutingBatch
++;
6109
_currentlyExecutingBatch
= 0;
6161
_currentlyExecutingBatch
= 0;
19 references to _currentlyExecutingBatch
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (19)
5056
_SqlRPCBatchArray[
_currentlyExecutingBatch
].cumulativeRecordsAffected = _rowsAffected;
5058
_SqlRPCBatchArray[
_currentlyExecutingBatch
].recordsAffected =
5059
(((0 <
_currentlyExecutingBatch
) && (0 <= _rowsAffected))
5060
? (_rowsAffected - Math.Max(_SqlRPCBatchArray[
_currentlyExecutingBatch
-1].cumulativeRecordsAffected, 0))
5065
_SqlRPCBatchArray[
_currentlyExecutingBatch
].errorsIndexStart =
5066
((0 <
_currentlyExecutingBatch
)
5067
? _SqlRPCBatchArray[
_currentlyExecutingBatch
-1].errorsIndexEnd
5069
_SqlRPCBatchArray[
_currentlyExecutingBatch
].errorsIndexEnd = _stateObj.ErrorCount;
5070
_SqlRPCBatchArray[
_currentlyExecutingBatch
].errors = _stateObj._errors;
5074
_SqlRPCBatchArray[
_currentlyExecutingBatch
].warningsIndexStart =
5075
((0 <
_currentlyExecutingBatch
)
5076
? _SqlRPCBatchArray[
_currentlyExecutingBatch
-1].warningsIndexEnd
5078
_SqlRPCBatchArray[
_currentlyExecutingBatch
].warningsIndexEnd = _stateObj.WarningCount;
5079
_SqlRPCBatchArray[
_currentlyExecutingBatch
].warnings = _stateObj._warnings;
5082
Debug.Assert(_parameterCollectionList.Count >=
_currentlyExecutingBatch
, "OnDoneProc: Too many DONEPROC events");
5100
if (_parameterCollectionList.Count >
_currentlyExecutingBatch
) {
5101
parameters = _parameterCollectionList[
_currentlyExecutingBatch
];
5318
if (_parameterCollectionList.Count >
_currentlyExecutingBatch
) {
5319
return _parameterCollectionList[
_currentlyExecutingBatch
];