Base:
property
ParameterName
System.Data.Common.DbParameter.ParameterName
Implemented interface member:
property
ParameterName
System.Data.IDataParameter.ParameterName
102 writes to ParameterName
System.Activities.DurableInstancing (89)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (12)
88
parameters.Add(new SqlParameter {
ParameterName
= "@lockTimeout", SqlDbType = SqlDbType.Int, Value = lockTimeout });
89
parameters.Add(new SqlParameter {
ParameterName
= "@lockOwnerId", SqlDbType = SqlDbType.UniqueIdentifier, Value = this.lockOwnerId });
90
parameters.Add(new SqlParameter {
ParameterName
= "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = (base.Store.WorkflowHostType != Guid.Empty) ? base.Store.WorkflowHostType : (object) DBNull.Value });
91
parameters.Add(new SqlParameter {
ParameterName
= "@enqueueCommand", SqlDbType = SqlDbType.Bit, Value = base.Store.EnqueueRunCommands });
92
parameters.Add(new SqlParameter {
ParameterName
= "@deleteInstanceOnCompletion", SqlDbType = SqlDbType.Bit, Value = (base.Store.InstanceCompletionAction == InstanceCompletionAction.DeleteAll) });
93
parameters.Add(new SqlParameter {
ParameterName
= "@primitiveLockOwnerData", SqlDbType = SqlDbType.VarBinary, Size = properties[0].Count, Value = (object)(properties[0].Array) ?? DBNull.Value });
94
parameters.Add(new SqlParameter {
ParameterName
= "@complexLockOwnerData", SqlDbType = SqlDbType.VarBinary, Size = properties[1].Count, Value = (object)(properties[1].Array) ?? DBNull.Value });
95
parameters.Add(new SqlParameter {
ParameterName
= "@writeOnlyPrimitiveLockOwnerData", SqlDbType = SqlDbType.VarBinary, Size = properties[2].Count, Value = (object)(properties[2].Array) ?? DBNull.Value });
96
parameters.Add(new SqlParameter {
ParameterName
= "@writeOnlyComplexLockOwnerData", SqlDbType = SqlDbType.VarBinary, Size = properties[3].Count, Value = (object)(properties[3].Array) ?? DBNull.Value });
97
parameters.Add(new SqlParameter {
ParameterName
= "@encodingOption", SqlDbType = SqlDbType.TinyInt, Value = base.Store.InstanceEncodingOption });
98
parameters.Add(new SqlParameter {
ParameterName
= "@machineName", SqlDbType = SqlDbType.NVarChar, Value = SqlWorkflowInstanceStoreConstants.MachineName });
105
parameters.Add(new SqlParameter {
ParameterName
= "@identityMetadata", SqlDbType = SqlDbType.Xml, Value = identityMetadataXml });
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (1)
37
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = this.surrogateLockOwnerId });
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
46
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@machineName", SqlDbType = SqlDbType.NVarChar, Value = SqlWorkflowInstanceStoreConstants.MachineName });
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (2)
46
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = base.Store.WorkflowHostType });
49
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = base.StoreLock.SurrogateLockOwnerId });
System\Activities\DurableInstancing\ExtendLockAsyncResult.cs (2)
48
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = surrogateOwnerId });
49
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@lockTimeout", SqlDbType = SqlDbType.Int, Value = lockTimeout });
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (11)
65
parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = surrogateLockOwnerId });
66
parameters.Add(new SqlParameter {
ParameterName
= "@operationType", SqlDbType = SqlDbType.TinyInt, Value = loadType });
67
parameters.Add(new SqlParameter {
ParameterName
= "@keyToLoadBy", SqlDbType = SqlDbType.UniqueIdentifier, Value = keyToLoadBy });
68
parameters.Add(new SqlParameter {
ParameterName
= "@instanceId", SqlDbType = SqlDbType.UniqueIdentifier, Value = instanceId });
69
parameters.Add(new SqlParameter {
ParameterName
= "@handleInstanceVersion", SqlDbType = SqlDbType.BigInt, Value = base.InstancePersistenceContext.InstanceVersion });
70
parameters.Add(new SqlParameter {
ParameterName
= "@handleIsBoundToLock", SqlDbType = SqlDbType.Bit, Value = base.InstancePersistenceContext.InstanceView.IsBoundToLock });
71
parameters.Add(new SqlParameter {
ParameterName
= "@keysToAssociate", SqlDbType = SqlDbType.Xml, Value = singleKeyToAssociate ? DBNull.Value : SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToAssociate) });
72
parameters.Add(new SqlParameter {
ParameterName
= "@encodingOption", SqlDbType = SqlDbType.TinyInt, Value = base.Store.InstanceEncodingOption });
73
parameters.Add(new SqlParameter {
ParameterName
= "@concatenatedKeyProperties", SqlDbType = SqlDbType.VarBinary, Value = (object) concatenatedKeyProperties ?? DBNull.Value });
74
parameters.Add(new SqlParameter {
ParameterName
= "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
75
parameters.Add(new SqlParameter {
ParameterName
= "@singleKeyId", SqlDbType = SqlDbType.UniqueIdentifier, Value = singleKeyToAssociate ? keysToAssociate[0].KeyId : (object) DBNull.Value });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (50)
74
parameters.Add(new SqlParameter {
ParameterName
= "@instanceId", SqlDbType = SqlDbType.UniqueIdentifier, Value = base.InstancePersistenceContext.InstanceView.InstanceId });
75
parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = base.StoreLock.SurrogateLockOwnerId });
76
parameters.Add(new SqlParameter {
ParameterName
= "@handleInstanceVersion", SqlDbType = SqlDbType.BigInt, Value = base.InstancePersistenceContext.InstanceVersion });
77
parameters.Add(new SqlParameter {
ParameterName
= "@handleIsBoundToLock", SqlDbType = SqlDbType.Bit, Value = base.InstancePersistenceContext.InstanceView.IsBoundToLock });
78
parameters.Add(new SqlParameter {
ParameterName
= "@timerDurationMilliseconds", SqlDbType = SqlDbType.BigInt, Value = (object)GetPendingTimerExpiration(saveWorkflowCommand) ?? DBNull.Value });
79
parameters.Add(new SqlParameter {
ParameterName
= "@unlockInstance", SqlDbType = SqlDbType.Bit, Value = saveWorkflowCommand.UnlockInstance });
80
parameters.Add(new SqlParameter {
ParameterName
= "@suspensionStateChange", SqlDbType = SqlDbType.TinyInt, Value = GetSuspensionReason(saveWorkflowCommand, out suspensionReason, out suspensionExceptionName) });
81
parameters.Add(new SqlParameter {
ParameterName
= "@suspensionReason", SqlDbType = SqlDbType.NVarChar, Value = (object)suspensionReason ?? DBNull.Value });
82
parameters.Add(new SqlParameter {
ParameterName
= "@suspensionExceptionName", SqlDbType = SqlDbType.NVarChar, Size = 450, Value = (object)suspensionExceptionName ?? DBNull.Value });
83
parameters.Add(new SqlParameter {
ParameterName
= "@isCompleted", SqlDbType = SqlDbType.Bit, Value = saveWorkflowCommand.CompleteInstance });
84
parameters.Add(new SqlParameter {
ParameterName
= "@isReadyToRun", SqlDbType = SqlDbType.Bit, Value = IsReadyToRun(saveWorkflowCommand) });
85
parameters.Add(new SqlParameter {
ParameterName
= "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = (object)GetWorkflowHostType(saveWorkflowCommand) ?? DBNull.Value });
86
parameters.Add(new SqlParameter {
ParameterName
= "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
92
parameters.Add(new SqlParameter {
ParameterName
= "@identityMetadata", SqlDbType = SqlDbType.Xml, Value = (object)identityMetadataXml ?? DBNull.Value });
194
parameters.Add(new SqlParameter {
ParameterName
= parameterName, SqlDbType = SqlDbType.VarBinary, Size = parameterSize, Value = parameterValue });
436
parameters.Add(new SqlParameter {
ParameterName
= "@serviceDeploymentHash", SqlDbType = SqlDbType.UniqueIdentifier, Value = this.serviceDeploymentHash });
437
parameters.Add(new SqlParameter {
ParameterName
= "@serviceName", Size = -1, SqlDbType = SqlDbType.NVarChar, Value = serviceName ?? (object)DBNull.Value });
438
parameters.Add(new SqlParameter {
ParameterName
= "@serviceNamespace", Size = -1, SqlDbType = SqlDbType.NVarChar, Value = serviceNamespace ?? (object)DBNull.Value });
439
parameters.Add(new SqlParameter {
ParameterName
= "@siteName", Size = -1, SqlDbType = SqlDbType.NVarChar, Value = site ?? (object)DBNull.Value });
440
parameters.Add(new SqlParameter {
ParameterName
= "@relativeServicePath", Size = -1, SqlDbType = SqlDbType.NVarChar, Value = relativeServicePath ?? (object)DBNull.Value });
441
parameters.Add(new SqlParameter {
ParameterName
= "@relativeApplicationPath", Size = -1, SqlDbType = SqlDbType.NVarChar, Value = relativeApplicationPath ?? (object)DBNull.Value });
445
parameters.Add(new SqlParameter {
ParameterName
= "@serviceDeploymentId", SqlDbType = SqlDbType.BigInt, Value = (this.serviceDeploymentId != 0) ? (object)this.serviceDeploymentId : (object)DBNull.Value });
479
parameters.Add(new SqlParameter {
ParameterName
= "@keysToAssociate", SqlDbType = SqlDbType.Xml, Value = DBNull.Value });
480
parameters.Add(new SqlParameter {
ParameterName
= "@singleKeyId", SqlDbType = SqlDbType.UniqueIdentifier, Value = DBNull.Value });
481
parameters.Add(new SqlParameter {
ParameterName
= "@keysToComplete", SqlDbType = SqlDbType.Xml, Value = DBNull.Value });
482
parameters.Add(new SqlParameter {
ParameterName
= "@keysToFree", SqlDbType = SqlDbType.Xml, Value = DBNull.Value });
483
parameters.Add(new SqlParameter {
ParameterName
= "@concatenatedKeyProperties", SqlDbType = SqlDbType.VarBinary, Value = DBNull.Value });
484
parameters.Add(new SqlParameter {
ParameterName
= "@primitiveDataProperties", SqlDbType = SqlDbType.VarBinary, Value = DBNull.Value });
485
parameters.Add(new SqlParameter {
ParameterName
= "@complexDataProperties", SqlDbType = SqlDbType.VarBinary, Value = DBNull.Value });
486
parameters.Add(new SqlParameter {
ParameterName
= "@writeOnlyPrimitiveDataProperties", SqlDbType = SqlDbType.VarBinary, Value = DBNull.Value });
487
parameters.Add(new SqlParameter {
ParameterName
= "@writeOnlyComplexDataProperties", SqlDbType = SqlDbType.VarBinary, Value = DBNull.Value });
488
parameters.Add(new SqlParameter {
ParameterName
= "@metadataProperties", SqlDbType = SqlDbType.VarBinary, Value = DBNull.Value });
489
parameters.Add(new SqlParameter {
ParameterName
= "@metadataIsConsistent", SqlDbType = SqlDbType.Bit, Value = DBNull.Value });
490
parameters.Add(new SqlParameter {
ParameterName
= "@encodingOption", SqlDbType = SqlDbType.TinyInt, Value = DBNull.Value });
491
parameters.Add(new SqlParameter {
ParameterName
= "@lastMachineRunOn", SqlDbType = SqlDbType.NVarChar, Value = DBNull.Value });
492
parameters.Add(new SqlParameter {
ParameterName
= "@executionStatus", SqlDbType = SqlDbType.NVarChar, Value = DBNull.Value });
493
parameters.Add(new SqlParameter {
ParameterName
= "@blockingBookmarks", SqlDbType = SqlDbType.NVarChar, Value = DBNull.Value });
507
parameters.Add(new SqlParameter {
ParameterName
= "@keysToAssociate", SqlDbType = SqlDbType.Xml, Value = singleKeyToAssociate ? DBNull.Value : SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToAssociate) });
508
parameters.Add(new SqlParameter {
ParameterName
= "@singleKeyId", SqlDbType = SqlDbType.UniqueIdentifier, Value = singleKeyToAssociate ? keysToAssociate[0].KeyId : (object)DBNull.Value });
509
parameters.Add(new SqlParameter {
ParameterName
= "@keysToComplete", SqlDbType = SqlDbType.Xml, Value = SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToComplete) });
510
parameters.Add(new SqlParameter {
ParameterName
= "@keysToFree", SqlDbType = SqlDbType.Xml, Value = SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToFree) });
511
parameters.Add(new SqlParameter {
ParameterName
= "@concatenatedKeyProperties", SqlDbType = SqlDbType.VarBinary, Size = -1, Value = (object)concatenatedKeyProperties ?? DBNull.Value });
512
parameters.Add(new SqlParameter {
ParameterName
= "@metadataIsConsistent", SqlDbType = SqlDbType.Bit, Value = metadataConsistency });
513
parameters.Add(new SqlParameter {
ParameterName
= "@encodingOption", SqlDbType = SqlDbType.TinyInt, Value = base.Store.InstanceEncodingOption });
514
parameters.Add(new SqlParameter {
ParameterName
= "@lastMachineRunOn", SqlDbType = SqlDbType.NVarChar, Size = 450, Value = SqlWorkflowInstanceStoreConstants.MachineName });
515
parameters.Add(new SqlParameter {
ParameterName
= "@executionStatus", SqlDbType = SqlDbType.NVarChar, Size = 450, Value = GetExecutionStatus(saveWorkflowCommand) ?? (object)DBNull.Value });
516
parameters.Add(new SqlParameter {
ParameterName
= "@blockingBookmarks", SqlDbType = SqlDbType.NVarChar, Size = -1, Value = GetBlockingBookmarks(saveWorkflowCommand) ?? (object)DBNull.Value });
564
parameters.Add(new SqlParameter() { SqlDbType = SqlDbType.Variant,
ParameterName
= argumentName, Value = propertyValue.Value ?? DBNull.Value });
597
parameters.Add(new SqlParameter() { SqlDbType = SqlDbType.NVarChar, Size = 400,
ParameterName
= promotionNameArgument, Value = promotion.Key });
598
parameters.Add(new SqlParameter() { SqlDbType = SqlDbType.UniqueIdentifier,
ParameterName
= instanceIdArgument, Value = base.InstancePersistenceContext.InstanceView.InstanceId });
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (7)
41
command.Parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = base.StoreLock.SurrogateLockOwnerId });
42
command.Parameters.Add(new SqlParameter {
ParameterName
= "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = base.Store.WorkflowHostType });
43
command.Parameters.Add(new SqlParameter {
ParameterName
= "@operationType", SqlDbType = SqlDbType.TinyInt, Value = LoadType.LoadByInstance });
44
command.Parameters.Add(new SqlParameter {
ParameterName
= "@handleInstanceVersion", SqlDbType = SqlDbType.BigInt, Value = base.InstancePersistenceContext.InstanceVersion });
45
command.Parameters.Add(new SqlParameter {
ParameterName
= "@handleIsBoundToLock", SqlDbType = SqlDbType.Bit, Value = base.InstancePersistenceContext.InstanceView.IsBoundToLock });
46
command.Parameters.Add(new SqlParameter {
ParameterName
= "@encodingOption", SqlDbType = SqlDbType.TinyInt, Value = base.Store.InstanceEncodingOption });
47
command.Parameters.Add(new SqlParameter {
ParameterName
= "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (3)
36
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@instanceId", SqlDbType = SqlDbType.UniqueIdentifier, Value = unlockCommand.InstanceId });
37
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@surrogateLockOwnerId", SqlDbType = SqlDbType.BigInt, Value = unlockCommand.SurrogateOwnerId });
38
sqlCommand.Parameters.Add(new SqlParameter {
ParameterName
= "@handleInstanceVersion", SqlDbType = SqlDbType.BigInt, Value = unlockCommand.InstanceVersion });
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
2825
p.
ParameterName
= (string) r[colNames[(int)ProcParamsColIndex.ParameterName]];
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
436
param.
ParameterName
= "@dialog_handle";
fx\src\data\System\Data\SqlClient\SqlParameter.cs (6)
136
this.
ParameterName
= parameterName;
156
this.
ParameterName
= parameterName;
171
this.
ParameterName
= parameterName;
178
this.
ParameterName
= parameterName;
183
this.
ParameterName
= parameterName;
189
this.
ParameterName
= parameterName;
System.Workflow.Runtime (5)
Tracking\SqlTrackingQuery.cs (5)
173
param.
ParameterName
= "@WorkflowInstanceId";
189
param.
ParameterName
= "@WorkflowStatusId";
198
param.
ParameterName
= "@StatusMinDateTime";
208
param.
ParameterName
= "@StatusMaxDateTime";
275
param.
ParameterName
= "@TrackingDataItems";
25 references to ParameterName
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\StoreUtilities.cs (2)
164
traceString.AppendFormat(CultureInfo.InvariantCulture, "{0}='{1}'", sqlParameter.
ParameterName
, value);
169
traceString.AppendFormat(CultureInfo.InvariantCulture, ", {0}='{1}'", sqlParameter.
ParameterName
, value);
System.Data (21)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3762
paramCopy = new SqlParameter(param.
ParameterName
, param.SqlDbType, param.Size, param.Direction, param.Precision, param.Scale, param.SourceColumn, param.SourceVersion,
4035
throw SQL.ParamEncryptionMetadataMissing(rpc.parameters[paramIdx].
ParameterName
, rpc.GetCommandTextOrRpcName());
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (2)
148
if (!SqlIdentifierParser.IsMatch(p.
ParameterName
)) {
149
throw ADP.BadParameterName(p.
ParameterName
);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (13)
350
return new SqlMetaData(this.
ParameterName
, mt.SqlDbType, maxlen, GetActualPrecision(), GetActualScale(), LocaleId, CompareInfo,
547
string parameterName =
ParameterName
;
885
throw SQL.ParameterInvalidVariant(this.
ParameterName
);
1513
throw SQL.MustSetTypeNameForParam(metaType.TypeName, this.
ParameterName
);
1516
throw SQL.UnsupportedTVPOutputParameter(this.Direction, this.
ParameterName
);
1520
throw SQL.DBNullNotSupportedForTVPValues(this.
ParameterName
);
1524
throw SQL.UnexpectedTypeNameForNonStructParams(this.
ParameterName
);
1814
ctorValues = new object[] { p.
ParameterName
, p.SqlDbType };
1819
ctorValues = new object[] { p.
ParameterName
, p.SqlDbType, p.Size };
1826
ctorValues = new object[] { p.
ParameterName
, p.SqlDbType, p.Size, p.SourceColumn };
1830
ctorValues = new object[] { p.
ParameterName
, p.Value };
1840
p.
ParameterName
, p.SqlDbType, p.Size, p.Direction,
1854
p.
ParameterName
, p.SqlDbType, p.Size, p.Direction,
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
8140
throw SQL.ParamInvalidForceColumnEncryptionSetting(param.
ParameterName
, rpcext.GetCommandTextOrRpcName());
8147
throw SQL.ParamUnExpectedEncryptionMetadata(param.
ParameterName
, rpcext.GetCommandTextOrRpcName());
8274
throw SQL.ParamEncryptionFailed(param.
ParameterName
, null, e);
8804
Bid.Trace("<sc.TdsParser.WriteSmiParameter|ADV> %d#, Sending parameter '%ls', default flag=%d, metadata:\n", ObjectID, param.
ParameterName
, sendDefault?1:0);
System.Data.Entity (2)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (2)
390
commandText.Append(value.
ParameterName
);
564
_commandText.Append(parameter.
ParameterName
);