1 write to parameters
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
5402
rpc.
parameters
= new SqlParameter[paramCount];
37 references to parameters
System.Data (37)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (35)
3601
if (_SqlRPCBatchArray[i].
parameters
.Length > 1) {
3652
rpc.
parameters
[i++] = sqlParam;
3724
Debug.Assert(originalRpcRequest.
parameters
!= null && originalRpcRequest.
parameters
.Length > 0,
3726
text = (string)originalRpcRequest.
parameters
[0].Value;
3734
sqlParam = BuildStoredProcedureStatementForColumnEncryption(text, originalRpcRequest.
parameters
);
3743
describeParameterEncryptionRequest.
parameters
[0] = sqlParam;
3749
if (originalRpcRequest.
parameters
.Length > 1) {
3750
parameterList = (string)originalRpcRequest.
parameters
[1].Value;
3761
SqlParameter param = originalRpcRequest.
parameters
[i];
3792
describeParameterEncryptionRequest.
parameters
[1] = sqlParam;
3801
describeParameterEncryptionRequest.
parameters
[2] = attestationParametersParam;
3985
for (paramIdx = parameterStartIndex; paramIdx < rpc.
parameters
.Length && rpc.
parameters
[paramIdx] != null; paramIdx++) {
3986
SqlParameter sqlParameter = rpc.
parameters
[paramIdx];
4029
for (paramIdx = parameterStartIndex; paramIdx < rpc.
parameters
.Length && rpc.
parameters
[paramIdx] != null; paramIdx++) {
4030
if (!rpc.
parameters
[paramIdx].HasReceivedMetadata && rpc.
parameters
[paramIdx].Direction != ParameterDirection.ReturnValue) {
4035
throw SQL.ParamEncryptionMetadataMissing(rpc.
parameters
[paramIdx].ParameterName, rpc.GetCommandTextOrRpcName());
5401
if(rpc.
parameters
== null || rpc.
parameters
.Length < paramCount) {
5404
else if (rpc.
parameters
.Length > paramCount) {
5405
rpc.
parameters
[paramCount]=null; // Terminator
5434
rpc.
parameters
[j] = parameter;
5487
rpc.
parameters
[0] = sqlParam;
5494
rpc.
parameters
[1] = sqlParam;
5500
rpc.
parameters
[2] = sqlParam;
5578
rpc.
parameters
[0] = sqlParam;
5606
rpc.
parameters
[0] = sqlParam;
5642
rpc.
parameters
[0] = sqlParam;
5648
rpc.
parameters
[1] = sqlParam;
5963
rpc.
parameters
[0] = sqlParam;
5970
rpc.
parameters
[1] = sqlParam;
5976
rpc.
parameters
[2] = sqlParam;
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8126
SqlParameter[] parameters = rpcext.
parameters
;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
1061
return (string)
parameters
[0].Value;