296 instantiations of SqlParameter
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 (37)
fx\src\data\System\Data\SqlClient\SqlClientFactory.cs (1)
52
return new
SqlParameter
();
fx\src\data\System\Data\SqlClient\SqlCommand.cs (20)
1103
return new
SqlParameter
();
2796
paramsCmd.Parameters.Add(new
SqlParameter
("@procedure_name", SqlDbType.NVarChar, 255));
2800
SqlParameter param = paramsCmd.Parameters.Add(new
SqlParameter
("@group_number", SqlDbType.Int));
2805
SqlParameter param = paramsCmd.Parameters.Add(new
SqlParameter
("@procedure_schema", SqlDbType.NVarChar, 255));
2822
p = new
SqlParameter
();
3696
SqlParameter sqlParam = new
SqlParameter
(null, ((queryText.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, queryText.Length);
3762
paramCopy = new
SqlParameter
(param.ParameterName, param.SqlDbType, param.Size, param.Direction, param.Precision, param.Scale, param.SourceColumn, param.SourceVersion,
3790
sqlParam = new
SqlParameter
(null, ((parameterList.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, parameterList.Length);
3795
var attestationParametersParam = new
SqlParameter
(null, SqlDbType.VarBinary) {
5484
sqlParam = new
SqlParameter
(null, SqlDbType.Int);
5492
sqlParam = new
SqlParameter
(null, ((paramList.Length<<1)<=TdsEnums.TYPE_SIZE_LIMIT)?SqlDbType.NVarChar:SqlDbType.NText, paramList.Length);
5498
sqlParam = new
SqlParameter
(null, ((text.Length<<1)<=TdsEnums.TYPE_SIZE_LIMIT)?SqlDbType.NVarChar:SqlDbType.NText, text.Length);
5576
sqlParam = new
SqlParameter
(null, SqlDbType.Int);
5604
sqlParam = new
SqlParameter
(null, SqlDbType.Int);
5640
sqlParam = new
SqlParameter
(null, ((commandText.Length<<1)<=TdsEnums.TYPE_SIZE_LIMIT)?SqlDbType.NVarChar:SqlDbType.NText, commandText.Length);
5646
sqlParam = new
SqlParameter
(null, ((paramList.Length<<1)<=TdsEnums.TYPE_SIZE_LIMIT)?SqlDbType.NVarChar:SqlDbType.NText, paramList.Length);
5732
SqlParameter tsqlParameter = new
SqlParameter
(null, ((execStatement.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, execStatement.Length);
5961
sqlParam = new
SqlParameter
(null, SqlDbType.Int);
5968
sqlParam = new
SqlParameter
(null, ((paramList.Length<<1)<=TdsEnums.TYPE_SIZE_LIMIT)?SqlDbType.NVarChar:SqlDbType.NText, paramList.Length);
5974
sqlParam = new
SqlParameter
(null, ((text.Length<<1)<=TdsEnums.TYPE_SIZE_LIMIT)?SqlDbType.NVarChar:SqlDbType.NText, text.Length);
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
143
SqlParameter p = new
SqlParameter
();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (6)
1992
SqlParameter p = new
SqlParameter
(null, SqlDbType.VarChar, TdsEnums.SQLDEBUG_MODE_NAMES[option].Length);
1998
p = new
SqlParameter
(null, SqlDbType.VarChar, sdiDllName.Length);
2002
p = new
SqlParameter
(null, SqlDbType.VarChar, machineName.Length);
2009
p = new
SqlParameter
(null, SqlDbType.Int);
2013
p = new
SqlParameter
(null, SqlDbType.Int);
2020
p = new
SqlParameter
(null, SqlDbType.VarBinary, (null != data) ? data.Length : 0);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
152
_conversationGuidParam = new
SqlParameter
("@p1", SqlDbType.UniqueIdentifier);
153
_timeoutParam = new
SqlParameter
("@p2", SqlDbType.Int);
435
SqlParameter param = new
SqlParameter
();
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (1)
338
SqlParameter parameter = new
SqlParameter
("@out", SqlDbType.Int);
fx\src\data\System\Data\SqlClient\SqlParameterCollection.cs (5)
75
return Add(new
SqlParameter
(parameterName, value));
78
return Add(new
SqlParameter
(parameterName, value));
82
return Add(new
SqlParameter
(parameterName, sqlDbType));
86
return Add(new
SqlParameter
(parameterName, sqlDbType, size));
90
return Add(new
SqlParameter
(parameterName, sqlDbType, size, sourceColumn));
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
329
SqlParameter result = new
SqlParameter
(name, value);
System.Web (121)
Cache\SqlCacheDependency.cs (1)
1501
sqlCmd.Parameters.Add(new
SqlParameter
("@tableName", SqlDbType.NVarChar, table.Length));
Management\SqlServices.cs (2)
559
cmd.Parameters.Add(new
SqlParameter
("@database", databaseNoSquareBrackets));
610
cmd.Parameters.Add(new
SqlParameter
("@TablesToCheck", itablesToCheck));
Management\SqlWebEventProvider.cs (15)
103
sqlCommand.Parameters.Add(new
SqlParameter
("@EventId", SqlDbType.Char, 32));
104
sqlCommand.Parameters.Add(new
SqlParameter
("@EventTimeUtc", SqlDbType.DateTime));
105
sqlCommand.Parameters.Add(new
SqlParameter
("@EventTime", SqlDbType.DateTime));
106
sqlCommand.Parameters.Add(new
SqlParameter
("@EventType", SqlDbType.NVarChar, 256));
107
sqlCommand.Parameters.Add(new
SqlParameter
("@EventSequence", SqlDbType.Decimal));
108
sqlCommand.Parameters.Add(new
SqlParameter
("@EventOccurrence", SqlDbType.Decimal));
109
sqlCommand.Parameters.Add(new
SqlParameter
("@EventCode", SqlDbType.Int));
110
sqlCommand.Parameters.Add(new
SqlParameter
("@EventDetailCode", SqlDbType.Int));
111
sqlCommand.Parameters.Add(new
SqlParameter
("@Message", SqlDbType.NVarChar, 1024));
112
sqlCommand.Parameters.Add(new
SqlParameter
("@ApplicationPath", SqlDbType.NVarChar, 256));
113
sqlCommand.Parameters.Add(new
SqlParameter
("@ApplicationVirtualPath", SqlDbType.NVarChar, 256));
114
sqlCommand.Parameters.Add(new
SqlParameter
("@MachineName", SqlDbType.NVarChar, 256));
115
sqlCommand.Parameters.Add(new
SqlParameter
("@RequestUrl", SqlDbType.NVarChar, 1024));
116
sqlCommand.Parameters.Add(new
SqlParameter
("@ExceptionType", SqlDbType.NVarChar, 256));
117
sqlCommand.Parameters.Add(new
SqlParameter
("@Details", SqlDbType.NText));
Profile\SqlProfileProvider.cs (1)
258
SqlParameter param = new
SqlParameter
(paramName, dbType);
Security\SQLMembershipProvider.cs (18)
380
p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
473
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
632
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
757
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
835
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
893
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
945
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1034
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1124
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1187
SqlParameter p = new
SqlParameter
("@NumTablesDeletedFrom", SqlDbType.Int);
1236
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1318
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1365
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1463
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1594
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
1651
p = new
SqlParameter
( "@ReturnValue", SqlDbType.Int );
1737
p = new
SqlParameter
( "@ReturnValue", SqlDbType.Int );
1823
SqlParameter param = new
SqlParameter
( paramName, dbType );
Security\SQLRoleProvider.cs (11)
118
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
173
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
248
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
302
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
353
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
463
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
575
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
630
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
699
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
759
SqlParameter p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
837
SqlParameter param = new
SqlParameter
(paramName, dbType);
State\sqlstateclientmanager.cs (57)
1031
p = cmd.Parameters.Add(new
SqlParameter
("@@ver", SqlDbType.Int));
1074
p = cmdTempGetAppId.Parameters.Add(new
SqlParameter
("@appName", SqlDbType.VarChar, APPID_MAX));
1077
p = cmdTempGetAppId.Parameters.Add(new
SqlParameter
("@appId", SqlDbType.Int));
1289
_cmdTempGet.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1290
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1292
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@locked", SqlDbType.Bit));
1294
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@lockAge", SqlDbType.Int));
1296
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1298
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@actionFlags", SqlDbType.Int));
1302
_cmdTempGet.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1303
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1305
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@locked", SqlDbType.Bit));
1307
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@lockDate", SqlDbType.DateTime));
1309
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1311
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@actionFlags", SqlDbType.Int));
1331
_cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1332
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1334
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@locked", SqlDbType.Bit));
1336
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@lockAge", SqlDbType.Int));
1338
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1340
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@actionFlags", SqlDbType.Int));
1344
_cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1345
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1347
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@locked", SqlDbType.Bit));
1349
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@lockDate", SqlDbType.DateTime));
1351
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1353
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@actionFlags", SqlDbType.Int));
1369
_cmdTempReleaseExclusive.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1370
_cmdTempReleaseExclusive.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1383
_cmdTempInsertLong.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1384
_cmdTempInsertLong.Parameters.Add(new
SqlParameter
("@itemLong", SqlDbType.Image, 8000));
1385
_cmdTempInsertLong.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1399
_cmdTempInsertShort.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1400
_cmdTempInsertShort.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1401
_cmdTempInsertShort.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1414
_cmdTempUpdateLong.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1415
_cmdTempUpdateLong.Parameters.Add(new
SqlParameter
("@itemLong", SqlDbType.Image, 8000));
1416
_cmdTempUpdateLong.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1417
_cmdTempUpdateLong.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1431
_cmdTempUpdateShort.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1432
_cmdTempUpdateShort.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1433
_cmdTempUpdateShort.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1434
_cmdTempUpdateShort.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1448
_cmdTempUpdateShortNullLong.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1449
_cmdTempUpdateShortNullLong.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1450
_cmdTempUpdateShortNullLong.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1451
_cmdTempUpdateShortNullLong.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1464
_cmdTempUpdateLongNullShort.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1465
_cmdTempUpdateLongNullShort.Parameters.Add(new
SqlParameter
("@itemLong", SqlDbType.Image, 8000));
1466
_cmdTempUpdateLongNullShort.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1467
_cmdTempUpdateLongNullShort.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1481
_cmdTempRemove.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1482
_cmdTempRemove.Parameters.Add(new
SqlParameter
("@lockCookie", SqlDbType.Int));
1496
_cmdTempInsertUninitializedItem.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1497
_cmdTempInsertUninitializedItem.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1498
_cmdTempInsertUninitializedItem.Parameters.Add(new
SqlParameter
("@timeout", SqlDbType.Int));
1512
_cmdTempResetTimeout.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
UI\WebParts\SqlPersonalizationProvider.cs (13)
64
SqlParameter param = new
SqlParameter
(name, dbType);
92
SqlParameter parameter = parameters.Add(new
SqlParameter
("AllUsersScope", SqlDbType.Bit));
99
SqlParameter returnValue = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
212
SqlParameter parameter = parameters.Add(new
SqlParameter
("AllUsersScope", SqlDbType.Bit));
219
SqlParameter returnValue = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
318
SqlParameter parameter = parameters.Add(new
SqlParameter
("Count", SqlDbType.Int));
321
parameter = parameters.Add(new
SqlParameter
("AllUsersScope", SqlDbType.Bit));
394
SqlParameter parameter = parameters.Add(new
SqlParameter
("Count", SqlDbType.Int));
397
parameter = parameters.Add(new
SqlParameter
("AllUsersScope", SqlDbType.Bit));
648
SqlParameter parameter = parameters.Add(new
SqlParameter
("AllUsersScope", SqlDbType.Bit));
653
parameter = parameters.Add(new
SqlParameter
("Count", SqlDbType.Int));
700
SqlParameter parameter = parameters.Add(new
SqlParameter
("Count", SqlDbType.Int));
813
SqlParameter parameter = parameters.Add(new
SqlParameter
("Count", SqlDbType.Int));
Util\SecUtil.cs (3)
272
p = new
SqlParameter
("@Feature", feature);
275
p = new
SqlParameter
("@CompatibleSchemaVersion", version);
278
p = new
SqlParameter
("@ReturnValue", SqlDbType.Int);
System.Web.Extensions (1)
ClientServices\Providers\SqlHelper.cs (1)
73
cmd.Parameters.Add(new
SqlParameter
(paramName, paramValue));
System.Workflow.Runtime (20)
Hosting\DbResourceAllocator.cs (3)
249
return new
SqlParameter
(parameterName, SqlDbType.BigInt);
251
return new
SqlParameter
(parameterName, type);
274
return new
SqlParameter
(parameterName, value);
Tracking\SqlTrackingQuery.cs (7)
172
SqlParameter param = new
SqlParameter
();
186
SqlParameter param = new
SqlParameter
();
197
param = new
SqlParameter
();
207
param = new
SqlParameter
();
221
param = new
SqlParameter
("@TypeFullName", opt.WorkflowType.FullName);
226
param = new
SqlParameter
("@AssemblyFullName", opt.WorkflowType.Assembly.FullName);
274
SqlParameter param = new
SqlParameter
();
Tracking\SqlTrackingWorkflowInstance.cs (10)
553
cmd.Parameters.Add(new
SqlParameter
("@WorkflowInstanceInternalId", _internalId));
554
cmd.Parameters.Add(new
SqlParameter
("@BeginDateTime", SqlDateTime.MinValue.Value));
555
cmd.Parameters.Add(new
SqlParameter
("@WorkflowInstanceEventId", kvp.Key));
670
cmd.Parameters.Add(new
SqlParameter
("@WorkflowInstanceInternalId", _internalId));
765
SqlParameter param = new
SqlParameter
("@WorkflowInstanceId", SqlDbType.UniqueIdentifier);
769
param = new
SqlParameter
("@BeginDateTime", SqlDbType.DateTime);
773
param = new
SqlParameter
("@EndDateTime", SqlDbType.DateTime);
857
SqlParameter param = new
SqlParameter
("@WorkflowInstanceInternalId", SqlDbType.BigInt);
861
param = new
SqlParameter
("@BeginDateTime", SqlDbType.DateTime);
865
param = new
SqlParameter
("@EndDateTime", SqlDbType.DateTime);
System.WorkflowServices (27)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (27)
769
SqlParameter idParameter = new
SqlParameter
("@id", SqlDbType.UniqueIdentifier);
773
SqlParameter instanceParameter = new
SqlParameter
("@instance", SqlDbType.Image);
774
SqlParameter instanceXmlParameter = new
SqlParameter
("@instanceXml", SqlDbType.Xml);
790
SqlParameter unlockInstanceParameter = new
SqlParameter
("@unlockInstance", SqlDbType.Bit);
794
SqlParameter lockOwnerParameter = new
SqlParameter
("@hostId", SqlDbType.UniqueIdentifier);
798
SqlParameter lockTimeoutParameter = new
SqlParameter
("@lockTimeout", SqlDbType.Int);
802
SqlParameter resultParameter = new
SqlParameter
("@result", SqlDbType.Int);
846
SqlParameter idParameter = new
SqlParameter
("@id", SqlDbType.UniqueIdentifier);
850
SqlParameter hostIdParameter = new
SqlParameter
("@hostId", SqlDbType.UniqueIdentifier);
854
SqlParameter lockTimeoutParameter = new
SqlParameter
("@lockTimeout", SqlDbType.Int);
858
SqlParameter resultParameter = new
SqlParameter
("@result", SqlDbType.Int);
948
SqlParameter idParameter = new
SqlParameter
("@id", SqlDbType.UniqueIdentifier);
952
SqlParameter lockInstanceParameter = new
SqlParameter
("@lockInstance", SqlDbType.Bit);
956
SqlParameter hostIdParameter = new
SqlParameter
("@hostId", SqlDbType.UniqueIdentifier);
960
SqlParameter lockTimeoutParameter = new
SqlParameter
("@lockTimeout", SqlDbType.Int);
964
SqlParameter resultParameter = new
SqlParameter
("@result", SqlDbType.Int);
1411
SqlParameter idParameter = new
SqlParameter
("@id", SqlDbType.UniqueIdentifier);
1415
SqlParameter hostIdParameter = new
SqlParameter
("@hostId", SqlDbType.UniqueIdentifier);
1419
SqlParameter lockTimeoutParameter = new
SqlParameter
("@lockTimeout", SqlDbType.Int);
1423
SqlParameter resultParameter = new
SqlParameter
("@result", SqlDbType.Int);
1470
SqlParameter idParameter = new
SqlParameter
("@id", SqlDbType.UniqueIdentifier);
1474
SqlParameter instanceParameter = new
SqlParameter
("@instance", SqlDbType.Image);
1475
SqlParameter instanceXmlParameter = new
SqlParameter
("@instanceXml", SqlDbType.Xml);
1491
SqlParameter unlockInstanceParameter = new
SqlParameter
("@unlockInstance", SqlDbType.Bit);
1495
SqlParameter lockOwnerParameter = new
SqlParameter
("@hostId", SqlDbType.UniqueIdentifier);
1499
SqlParameter lockTimeoutParameter = new
SqlParameter
("@lockTimeout", SqlDbType.Int);
1503
SqlParameter resultParameter = new
SqlParameter
("@result", SqlDbType.Int);
205 references to SqlParameter
System.Activities.DurableInstancing (3)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (2)
237
SqlParameter
[] tempParameterList = new
SqlParameter
[command.Parameters.Count];
System\Activities\DurableInstancing\StoreUtilities.cs (1)
146
foreach (
SqlParameter
sqlParameter in command.Parameters)
System.Data (80)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (1)
529
String[] names =
SqlParameter
.ParseTypeName(typeName, true /* is for UdtTypeName */);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (3)
1337
value =
SqlParameter
.CoerceValue(value, mt, out coercedToDataFeed, out typeChanged, false);
1402
value =
SqlParameter
.CoerceValue(value, mt, out coercedToDataFeed, out typeChanged, false);
1408
value =
SqlParameter
.CoerceValue(value, mt, out coercedToDataFeed, out typeChanged, false);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (37)
1102
new public
SqlParameter
CreateParameter() {
2800
SqlParameter
param = paramsCmd.Parameters.Add(new SqlParameter("@group_number", SqlDbType.Int));
2805
SqlParameter
param = paramsCmd.Parameters.Add(new SqlParameter("@procedure_schema", SqlDbType.NVarChar, 255));
2811
List<
SqlParameter
> parameters = new List<
SqlParameter
>();
2817
SqlParameter
p = null;
2958
foreach (
SqlParameter
temp in parameters) {
3651
foreach (
SqlParameter
sqlParam in _parameters) {
3694
private
SqlParameter
GetSqlParameterWithQueryText(string queryText)
3696
SqlParameter
sqlParam = new SqlParameter(null, ((queryText.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, queryText.Length);
3719
SqlParameter
sqlParam;
3756
SqlParameter
paramCopy;
3761
SqlParameter
param = originalRpcRequest.parameters[i];
3795
var
attestationParametersParam = new SqlParameter(null, SqlDbType.VarBinary) {
3986
SqlParameter
sqlParameter = rpc.parameters[paramIdx];
5111
SqlParameter
parameter = parameters[i];
5157
SqlParameter
thisParam = GetParameterForOutputValueExtraction(parameters, rec.parameter, count);
5291
SqlParameter
param = GetParameterForOutputValueExtraction(parameters, name, count);
5331
private
SqlParameter
GetParameterForOutputValueExtraction( SqlParameterCollection parameters,
5333
SqlParameter
thisParam = null;
5402
rpc.parameters = new
SqlParameter
[paramCount];
5424
SqlParameter
parameter = parameters[ii];
5472
SqlParameter
sqlParam;
5511
private static bool ShouldSendParameter(
SqlParameter
p, bool includeReturnValue = false) {
5570
SqlParameter
sqlParam;
5598
SqlParameter
sqlParam;
5622
SqlParameter
sqlParam;
5663
private
SqlParameter
BuildStoredProcedureStatementForColumnEncryption(string storedProcedureName,
SqlParameter
[] parameters) {
5672
SqlParameter
returnValueParameter = null;
5673
foreach (
SqlParameter
parameter in parameters) {
5732
SqlParameter
tsqlParameter = new SqlParameter(null, ((execStatement.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, execStatement.Length);
5749
SqlParameter
sqlParam = parameters[i];
5876
string[] strings =
SqlParameter
.ParseTypeName(identifier, isUdtTypeName);
5955
SqlParameter
sqlParam;
6218
SqlParameter
param = Parameters[index];
6249
SqlParameter
param = Parameters[index];
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (2)
161
SqlParameter
p = (
SqlParameter
) parameter;
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (3)
143
SqlParameter
p = new SqlParameter();
153
foreach(
SqlParameter
p in parameters) {
274
internal
SqlParameter
GetParameter(int commandIndex, int parameterIndex) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1992
SqlParameter
p = new SqlParameter(null, SqlDbType.VarChar, TdsEnums.SQLDEBUG_MODE_NAMES[option].Length);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
47
private
SqlParameter
_conversationGuidParam;
48
private
SqlParameter
_timeoutParam;
435
SqlParameter
param = new SqlParameter();
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (1)
338
SqlParameter
parameter = new SqlParameter("@out", SqlDbType.Int);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (6)
58
System.ComponentModel.TypeConverterAttribute(typeof(System.Data.SqlClient.
SqlParameter
.SqlParameterConverter))
1043
private void CloneHelper(
SqlParameter
destination) {
1774
if ((typeof(System.ComponentModel.Design.Serialization.InstanceDescriptor) == destinationType) && (value is
SqlParameter
)) {
1775
return ConvertToInstanceDescriptor(value as
SqlParameter
);
1780
private System.ComponentModel.Design.Serialization.InstanceDescriptor ConvertToInstanceDescriptor(
SqlParameter
p) {
1863
System.Reflection.ConstructorInfo ctor = typeof(
SqlParameter
).GetConstructor(ctorParams);
fx\src\data\System\Data\SqlClient\SqlParameterCollection.cs (18)
27
private static Type ItemType = typeof(
SqlParameter
);
45
new public
SqlParameter
this[int index] {
47
return (
SqlParameter
)GetParameter(index);
58
new public
SqlParameter
this[string parameterName] {
60
return (
SqlParameter
)GetParameter(parameterName);
67
public
SqlParameter
Add(
SqlParameter
value) {
74
public
SqlParameter
Add(string parameterName, object value) {
77
public
SqlParameter
AddWithValue(string parameterName, object value) { // 79027
81
public
SqlParameter
Add(string parameterName, SqlDbType sqlDbType) {
85
public
SqlParameter
Add(string parameterName, SqlDbType sqlDbType, int size) {
89
public
SqlParameter
Add(string parameterName, SqlDbType sqlDbType, int size, string sourceColumn) {
93
public void AddRange(
SqlParameter
[] values) {
101
public bool Contains(
SqlParameter
value) {
105
public void CopyTo(
SqlParameter
[] array, int index) {
109
public int IndexOf(
SqlParameter
value) {
113
public void Insert(int index,
SqlParameter
value) {
121
public void Remove(
SqlParameter
value) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
8126
SqlParameter
[] parameters = rpcext.parameters;
8131
SqlParameter
param = parameters[i];
8398
String[] names =
SqlParameter
.ParseTypeName(param.UdtTypeName, true /* is UdtTypeName */);
8759
private void WriteSmiParameter(
SqlParameter
param, int paramIndex, bool sendDefault, TdsParserStateObject stateObj) {
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
1044
internal
SqlParameter
[] parameters;
System.Data.Entity (20)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (13)
33
internal static string GenerateUpdateSql(DbUpdateCommandTree tree, SqlVersion sqlVersion, out List<
SqlParameter
> parameters)
90
internal static string GenerateDeleteSql(DbDeleteCommandTree tree, SqlVersion sqlVersion, out List<
SqlParameter
> parameters)
108
internal static string GenerateInsertSql(DbInsertCommandTree tree, SqlVersion sqlVersion, out List<
SqlParameter
> parameters)
387
SqlParameter
value;
470
_parameters = new List<
SqlParameter
>();
471
_memberValues = preserveMemberValues ? new Dictionary<EdmMember,
SqlParameter
>() :
477
private readonly List<
SqlParameter
> _parameters;
478
private readonly Dictionary<EdmMember,
SqlParameter
> _memberValues;
482
internal List<
SqlParameter
> Parameters { get { return _parameters; } }
483
internal Dictionary<EdmMember,
SqlParameter
> MemberValues { get { return _memberValues; } }
487
internal
SqlParameter
CreateParameter(object value, TypeUsage type)
492
SqlParameter
parameter = SqlProviderServices.CreateSqlParameter(s_parameterNames.GetName(_parameters.Count), type, ParameterMode.In, value, preventTruncation, _version);
563
SqlParameter
parameter = CreateParameter(expression.Value, expression.ResultType);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
408
internal static string GenerateSql(DbCommandTree tree, SqlVersion sqlVersion, out List<
SqlParameter
> parameters, out CommandType commandType, out HashSet<string> paramsToForceNonUnicode)
System\Data\SqlClient\SqlProviderServices.cs (6)
98
List<
SqlParameter
> parameters;
111
SqlParameter
parameter;
145
foreach (
SqlParameter
parameter in parameters) {
190
int suggestedLength = GetNonMaxLength(((
SqlParameter
)parameter).SqlDbType);
321
internal static
SqlParameter
CreateSqlParameter(string name, TypeUsage type, ParameterMode mode, object value, bool preventTruncation, SqlVersion version) {
329
SqlParameter
result = new SqlParameter(name, value);
System.Data.Linq (4)
SqlClient\SqlProvider.cs (2)
1166
var
sp = p as System.Data.SqlClient.
SqlParameter
;
SqlClient\SqlTypeSystemProvider.cs (2)
976
System.Data.SqlClient.
SqlParameter
sParameter = parameter as System.Data.SqlClient.
SqlParameter
;
System.Web (66)
Profile\SqlProfileProvider.cs (11)
257
private
SqlParameter
CreateInputParam(string paramName, SqlDbType dbType, object objValue){
258
SqlParameter
param = new SqlParameter(paramName, dbType);
448
return GetProfilesForQuery(new
SqlParameter
[0], authenticationOption, pageIndex, pageSize, out totalRecords);
456
SqlParameter
[] args = new
SqlParameter
[1];
465
SqlParameter
[] args = new
SqlParameter
[1];
475
SqlParameter
[] args = new
SqlParameter
[2];
487
private ProfileInfoCollection GetProfilesForQuery(
SqlParameter
[] args, ProfileAuthenticationOption authenticationOption, int pageIndex, int pageSize, out int totalRecords)
515
foreach (
SqlParameter
arg in args)
Security\SQLMembershipProvider.cs (19)
376
SqlParameter
p = CreateInputParam("@UserId", SqlDbType.UniqueIdentifier, providerUserKey);
473
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
632
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
757
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
835
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
893
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
945
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1034
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1124
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1187
SqlParameter
p = new SqlParameter("@NumTablesDeletedFrom", SqlDbType.Int);
1236
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1318
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1365
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1463
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1594
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
1636
SqlParameter
p = null;
1716
SqlParameter
p = null;
1818
private
SqlParameter
CreateInputParam( string paramName,
1823
SqlParameter
param = new SqlParameter( paramName, dbType );
Security\SQLRoleProvider.cs (13)
118
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
173
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
248
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
302
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
353
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
463
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
575
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
630
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
699
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
759
SqlParameter
p = new SqlParameter("@ReturnValue", SqlDbType.Int);
836
private
SqlParameter
CreateInputParam(string paramName, SqlDbType dbType, object objValue){
837
SqlParameter
param = new SqlParameter(paramName, dbType);
848
foreach(
SqlParameter
param in cmd.Parameters){
State\sqlstateclientmanager.cs (5)
1000
SqlParameter
p;
1066
SqlParameter
p;
1273
foreach (
SqlParameter
param in cmd.Parameters) {
1281
SqlParameter
p;
1323
SqlParameter
p;
UI\WebControls\SqlDataSourceView.cs (2)
1213
SqlParameter
sqlParameter = dbParameter as
SqlParameter
;
UI\WebParts\SqlPersonalizationProvider.cs (15)
63
private
SqlParameter
CreateParameter(string name, SqlDbType dbType, object value) {
64
SqlParameter
param = new SqlParameter(name, dbType);
92
SqlParameter
parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.Bit));
99
SqlParameter
returnValue = new SqlParameter("@ReturnValue", SqlDbType.Int);
212
SqlParameter
parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.Bit));
219
SqlParameter
returnValue = new SqlParameter("@ReturnValue", SqlDbType.Int);
318
SqlParameter
parameter = parameters.Add(new SqlParameter("Count", SqlDbType.Int));
394
SqlParameter
parameter = parameters.Add(new SqlParameter("Count", SqlDbType.Int));
648
SqlParameter
parameter = parameters.Add(new SqlParameter("AllUsersScope", SqlDbType.Bit));
700
SqlParameter
parameter = parameters.Add(new SqlParameter("Count", SqlDbType.Int));
714
SqlParameter
countParam = command.Parameters[0];
813
SqlParameter
parameter = parameters.Add(new SqlParameter("Count", SqlDbType.Int));
833
SqlParameter
countParam = command.Parameters[0];
849
SqlParameter
countParam = command.Parameters[0];
870
SqlParameter
countParam = command.Parameters[0];
Util\SecUtil.cs (1)
265
SqlParameter
p = null;
System.Workflow.Runtime (5)
Tracking\SqlTrackingQuery.cs (3)
172
SqlParameter
param = new SqlParameter();
186
SqlParameter
param = new SqlParameter();
274
SqlParameter
param = new SqlParameter();
Tracking\SqlTrackingWorkflowInstance.cs (2)
765
SqlParameter
param = new SqlParameter("@WorkflowInstanceId", SqlDbType.UniqueIdentifier);
857
SqlParameter
param = new SqlParameter("@WorkflowInstanceInternalId", SqlDbType.BigInt);
System.WorkflowServices (27)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (27)
769
SqlParameter
idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier);
773
SqlParameter
instanceParameter = new SqlParameter("@instance", SqlDbType.Image);
774
SqlParameter
instanceXmlParameter = new SqlParameter("@instanceXml", SqlDbType.Xml);
790
SqlParameter
unlockInstanceParameter = new SqlParameter("@unlockInstance", SqlDbType.Bit);
794
SqlParameter
lockOwnerParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier);
798
SqlParameter
lockTimeoutParameter = new SqlParameter("@lockTimeout", SqlDbType.Int);
802
SqlParameter
resultParameter = new SqlParameter("@result", SqlDbType.Int);
846
SqlParameter
idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier);
850
SqlParameter
hostIdParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier);
854
SqlParameter
lockTimeoutParameter = new SqlParameter("@lockTimeout", SqlDbType.Int);
858
SqlParameter
resultParameter = new SqlParameter("@result", SqlDbType.Int);
948
SqlParameter
idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier);
952
SqlParameter
lockInstanceParameter = new SqlParameter("@lockInstance", SqlDbType.Bit);
956
SqlParameter
hostIdParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier);
960
SqlParameter
lockTimeoutParameter = new SqlParameter("@lockTimeout", SqlDbType.Int);
964
SqlParameter
resultParameter = new SqlParameter("@result", SqlDbType.Int);
1411
SqlParameter
idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier);
1415
SqlParameter
hostIdParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier);
1419
SqlParameter
lockTimeoutParameter = new SqlParameter("@lockTimeout", SqlDbType.Int);
1423
SqlParameter
resultParameter = new SqlParameter("@result", SqlDbType.Int);
1470
SqlParameter
idParameter = new SqlParameter("@id", SqlDbType.UniqueIdentifier);
1474
SqlParameter
instanceParameter = new SqlParameter("@instance", SqlDbType.Image);
1475
SqlParameter
instanceXmlParameter = new SqlParameter("@instanceXml", SqlDbType.Xml);
1491
SqlParameter
unlockInstanceParameter = new SqlParameter("@unlockInstance", SqlDbType.Bit);
1495
SqlParameter
lockOwnerParameter = new SqlParameter("@hostId", SqlDbType.UniqueIdentifier);
1499
SqlParameter
lockTimeoutParameter = new SqlParameter("@lockTimeout", SqlDbType.Int);
1503
SqlParameter
resultParameter = new SqlParameter("@result", SqlDbType.Int);