3 writes to _sqlRPCParameterEncryptionReqArray
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
3629
_sqlRPCParameterEncryptionReqArray
= describeParameterEncryptionRpcOriginalRpcMap.Keys.ToArray();
3639
_sqlRPCParameterEncryptionReqArray
= new _SqlRPC[1];
6094
_sqlRPCParameterEncryptionReqArray
= null;
20 references to _sqlRPCParameterEncryptionReqArray
System.Data (20)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (20)
3631
Debug.Assert(
_sqlRPCParameterEncryptionReqArray
.Length > 0, "There should be at-least 1 describe parameter encryption rpc request.");
3632
Debug.Assert(
_sqlRPCParameterEncryptionReqArray
.Length <= _SqlRPCBatchArray.Length,
3657
PrepareDescribeParameterEncryptionRequest(rpc, ref
_sqlRPCParameterEncryptionReqArray
[0], serializedAttestatationParameters);
3658
Debug.Assert(
_sqlRPCParameterEncryptionReqArray
[0] != null, "_sqlRPCParameterEncryptionReqArray[0] should not be null, after call to PrepareDescribeParameterEncryptionRequest.");
3834
if (resultSetSequenceNumber >=
_sqlRPCParameterEncryptionReqArray
.Length) {
3950
Debug.Assert(
_sqlRPCParameterEncryptionReqArray
[resultSetSequenceNumber] != null, "_sqlRPCParameterEncryptionReqArray[resultSetSequenceNumber] should not be null.");
3955
lookupDictionaryResult = describeParameterEncryptionRpcOriginalRpcMap.TryGetValue(
_sqlRPCParameterEncryptionReqArray
[resultSetSequenceNumber++], out rpc);
4422
Debug.Assert(
_sqlRPCParameterEncryptionReqArray
!= null, "RunExecuteReader rpc array not provided for describe parameter encryption request.");
4423
writeTask = _stateObj.Parser.TdsExecuteRPC(this,
_sqlRPCParameterEncryptionReqArray
, timeout, inSchema, this.Notification, _stateObj, CommandType.StoredProcedure == CommandType, sync: !asyncWrite);
5018
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].cumulativeRecordsAffected = _rowsAffected;
5020
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].recordsAffected =
5022
? (_rowsAffected - Math.Max(
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC - 1].cumulativeRecordsAffected, 0))
5027
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].errorsIndexStart =
5029
?
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC - 1].errorsIndexEnd
5031
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].errorsIndexEnd = stateObj.ErrorCount;
5032
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].errors = stateObj._errors;
5036
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].warningsIndexStart =
5038
?
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC - 1].warningsIndexEnd
5040
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].warningsIndexEnd = stateObj.WarningCount;
5041
_sqlRPCParameterEncryptionReqArray
[_currentlyExecutingDescribeParameterEncryptionRPC].warnings = stateObj._warnings;