51 references to SqlParameter
System.Data (16)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (11)
2796
paramsCmd.Parameters.Add(new
SqlParameter
("@procedure_name", SqlDbType.NVarChar, 255));
2805
SqlParameter param = paramsCmd.Parameters.Add(new
SqlParameter
("@procedure_schema", SqlDbType.NVarChar, 255));
3696
SqlParameter sqlParam = new
SqlParameter
(null, ((queryText.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, queryText.Length);
3790
sqlParam = new
SqlParameter
(null, ((parameterList.Length << 1) <= TdsEnums.TYPE_SIZE_LIMIT) ? SqlDbType.NVarChar : SqlDbType.NText, parameterList.Length);
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);
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);
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\SqlConnection.cs (4)
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);
2020
p = new
SqlParameter
(null, SqlDbType.VarBinary, (null != data) ? data.Length : 0);
fx\src\data\System\Data\SqlClient\SqlParameterCollection.cs (1)
86
return Add(new
SqlParameter
(parameterName, sqlDbType, size));
System.Web (35)
Cache\SqlCacheDependency.cs (1)
1501
sqlCmd.Parameters.Add(new
SqlParameter
("@tableName", SqlDbType.NVarChar, table.Length));
Management\SqlWebEventProvider.cs (8)
103
sqlCommand.Parameters.Add(new
SqlParameter
("@EventId", SqlDbType.Char, 32));
106
sqlCommand.Parameters.Add(new
SqlParameter
("@EventType", SqlDbType.NVarChar, 256));
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));
State\sqlstateclientmanager.cs (26)
1074
p = cmdTempGetAppId.Parameters.Add(new
SqlParameter
("@appName", SqlDbType.VarChar, APPID_MAX));
1289
_cmdTempGet.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1290
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1302
_cmdTempGet.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1303
p = _cmdTempGet.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1331
_cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1332
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1344
_cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1345
p = _cmdTempGetExclusive.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1369
_cmdTempReleaseExclusive.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1383
_cmdTempInsertLong.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1384
_cmdTempInsertLong.Parameters.Add(new
SqlParameter
("@itemLong", SqlDbType.Image, 8000));
1399
_cmdTempInsertShort.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1400
_cmdTempInsertShort.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1414
_cmdTempUpdateLong.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1415
_cmdTempUpdateLong.Parameters.Add(new
SqlParameter
("@itemLong", SqlDbType.Image, 8000));
1431
_cmdTempUpdateShort.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1432
_cmdTempUpdateShort.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1448
_cmdTempUpdateShortNullLong.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1449
_cmdTempUpdateShortNullLong.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1464
_cmdTempUpdateLongNullShort.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1465
_cmdTempUpdateLongNullShort.Parameters.Add(new
SqlParameter
("@itemLong", SqlDbType.Image, 8000));
1481
_cmdTempRemove.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1496
_cmdTempInsertUninitializedItem.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));
1497
_cmdTempInsertUninitializedItem.Parameters.Add(new
SqlParameter
("@itemShort", SqlDbType.VarBinary, ITEM_SHORT_LENGTH));
1512
_cmdTempResetTimeout.Parameters.Add(new
SqlParameter
("@id", SqlDbType.NVarChar, ID_LENGTH));