254 references to NVarChar
System.Activities.DurableInstancing (16)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
98
parameters.Add(new SqlParameter { ParameterName = "@machineName", SqlDbType = SqlDbType.
NVarChar
, Value = SqlWorkflowInstanceStoreConstants.MachineName });
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
46
sqlCommand.Parameters.Add(new SqlParameter { ParameterName = "@machineName", SqlDbType = SqlDbType.
NVarChar
, Value = SqlWorkflowInstanceStoreConstants.MachineName });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (14)
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 });
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 });
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 });
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 });
597
parameters.Add(new SqlParameter() { SqlDbType = SqlDbType.
NVarChar
, Size = 400, ParameterName = promotionNameArgument, Value = promotion.Key });
System.Data (87)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (9)
41
SqlDbType.
NVarChar
, // System.Char
52
SqlDbType.
NVarChar
, // System.String
58
SqlDbType.
NVarChar
, // System.CharArray
72
SqlDbType.
NVarChar
, // System.Data.SqlTypes.SqlString
73
SqlDbType.
NVarChar
, // System.Data.SqlTypes.SqlChars
147
type == SqlDbType.
NVarChar
||
235
case SqlDbType.
NVarChar
:
606
case SqlDbType.
NVarChar
:
849
case SqlDbType.
NVarChar
:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
110
internal static readonly SmiMetaData DefaultNVarChar_NoCollation = new SmiMetaData(SqlDbType.
NVarChar
, MaxUnicodeCharacters, 0, 0, DefaultStringCompareOptions);// SqlDbType.NVarChar
369
case SqlDbType.
NVarChar
:
491
case SqlDbType.
NVarChar
:
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (1)
31
static readonly SmiMetaData __maxNVarCharForXml = new SmiMetaData(SqlDbType.
NVarChar
, SmiMetaData.UnlimitedMaxLengthIndicator,
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (2)
344
|| _metadata.SqlDbType == SqlDbType.
NVarChar
370
Debug.Assert(value != null && (value.SqlDbType == SqlDbType.Money || value.SqlDbType == SqlDbType.
NVarChar
),
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (9)
115
SqlDbType.
NVarChar
== metaData.SqlDbType ||
883
case SqlDbType.
NVarChar
:
1031
case SqlDbType.
NVarChar
:
1186
case SqlDbType.
NVarChar
:
1770
case SqlDbType.
NVarChar
:
1904
case SqlDbType.
NVarChar
:
2090
case SqlDbType.
NVarChar
:
2213
case SqlDbType.
NVarChar
:
3582
SqlDbType.
NVarChar
,
fx\src\data\System\Data\Sql\SqlMetaData.cs (22)
182
case SqlDbType.
NVarChar
:
480
else if (SqlDbType.
NVarChar
== dbType) {
548
else if (SqlDbType.
NVarChar
== dbType)
747
SqlDbType.
NVarChar
!= SqlDbType &&
882
else if (SqlDbType.VarChar != SqlDbType && SqlDbType.
NVarChar
!= SqlDbType &&
964
else if ( SqlDbType.VarChar != SqlDbType && SqlDbType.
NVarChar
!= SqlDbType &&
1134
case TypeCode.Char: smd = new SqlMetaData(name, SqlDbType.
NVarChar
, 1 ); break;
1159
smd = new SqlMetaData(name, SqlDbType.
NVarChar
, maxLen);
1184
smd = new SqlMetaData(name, SqlDbType.
NVarChar
, maxLen);
1255
smd = new SqlMetaData(name, SqlDbType.
NVarChar
, maxLen, ss.LCID, ss.SqlCompareOptions);
1259
smd = new SqlMetaData(name, SqlDbType.
NVarChar
, sxm_rgDefaults[(int)SqlDbType.
NVarChar
].MaxLength);
1275
maxLen = sxm_rgDefaults[(int)SqlDbType.
NVarChar
].MaxLength;
1277
smd = new SqlMetaData(name, SqlDbType.
NVarChar
, maxLen);
1369
(SqlDbType.VarChar != SqlDbType && SqlDbType.
NVarChar
!= SqlDbType &&
1400
else if ( SqlDbType.VarChar != SqlDbType && SqlDbType.
NVarChar
!= SqlDbType &&
1430
if (md.SqlDbType == SqlDbType.
NVarChar
|| md.SqlDbType == SqlDbType.VarChar ||
1589
new SqlMetaData("nvarchar", SqlDbType.
NVarChar
,
1613
new SqlMetaData("nvarchar", SqlDbType.
NVarChar
,
1617
new SqlMetaData("nvarchar", SqlDbType.
NVarChar
,
1619
new SqlMetaData("nvarchar", SqlDbType.
NVarChar
,
1621
new SqlMetaData("nvarchar", SqlDbType.
NVarChar
,
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (3)
669
case SqlDbType.
NVarChar
:
1119
else if (((metadata.type == SqlDbType.VarChar) || (metadata.type == SqlDbType.
NVarChar
)) && (mtSource.IsCharType) && (mtSource.SqlDbType != SqlDbType.Xml)) {
1137
else if ((metadata.type == SqlDbType.VarChar) || (metadata.type == SqlDbType.
NVarChar
)) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (15)
1928
|| md[0].SqlDbType == SqlDbType.
NVarChar
2796
paramsCmd.Parameters.Add(new SqlParameter("@procedure_name", SqlDbType.
NVarChar
, 255));
2805
SqlParameter param = paramsCmd.Parameters.Add(new SqlParameter("@procedure_schema", SqlDbType.
NVarChar
, 255));
2840
p.SqlDbType = SqlDbType.
NVarChar
;
2867
(p.SqlDbType == SqlDbType.
NVarChar
||
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);
6291
case SqlDbType.
NVarChar
:
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
312
||SqlDbType.
NVarChar
== colMetaData.type) {
533
schemaRow[ProviderType] = SqlDbType.
NVarChar
;
fx\src\data\System\Data\SqlClient\SqlEnums.cs (8)
107
type == SqlDbType.
NVarChar
||
114
type == SqlDbType.
NVarChar
||
124
type == SqlDbType.
NVarChar
||
187
case SqlDbType.
NVarChar
: return MetaNVarChar;
263
case SqlDbType.
NVarChar
:
612
sqlType = (typeName == MetaTypeName.NCHAR) ? SqlDbType.NChar : SqlDbType.
NVarChar
;
773
(255, 255, -1, false, false, false, TdsEnums.SQLNVARCHAR, TdsEnums.SQLNVARCHAR, MetaTypeName.NVARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.
NVarChar
, DbType.String, 7);
776
(255, 255, -1, false, true, true, TdsEnums.SQLNVARCHAR, TdsEnums.SQLNVARCHAR, MetaTypeName.NVARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.
NVarChar
, DbType.String, 7);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (6)
386
if ( SqlDbType.NChar == mt.SqlDbType || SqlDbType.
NVarChar
== mt.SqlDbType ) {
403
else if ( SqlDbType.NChar == mt.SqlDbType || SqlDbType.
NVarChar
== mt.SqlDbType ) {
409
|| ( maxLen > MSS.SmiMetaData.MaxUnicodeCharacters&& ( SqlDbType.NChar == mt.SqlDbType || SqlDbType.
NVarChar
== mt.SqlDbType )) ) {
823
case SqlDbType.
NVarChar
:
1581
if (mt.SqlDbType == SqlDbType.
NVarChar
1603
case SqlDbType.
NVarChar
:
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
4834
case SqlDbType.
NVarChar
:
8908
case SqlDbType.
NVarChar
:
9581
((metatype.SqlDbType == SqlDbType.VarChar || metatype.SqlDbType == SqlDbType.
NVarChar
) && value is TextDataFeed) ||
9599
case SqlDbType.
NVarChar
:
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (3)
91
case SqlDbType.
NVarChar
:
330
Debug.Assert(null != _variantType && SqlDbType.
NVarChar
== _variantType.SqlDbType, "Invalid variant type");
599
value.SqlDbType == SqlDbType.
NVarChar
||
System.Data.Entity (3)
System\Data\SqlClient\SqlProviderServices.cs (3)
563
if (type == SqlDbType.NChar || type == SqlDbType.
NVarChar
)
580
if (type == SqlDbType.NChar || type == SqlDbType.
NVarChar
)
677
dbType = (unicode ? SqlDbType.
NVarChar
: SqlDbType.VarChar);
System.Data.Linq (26)
parent\DbmlShared\Mapping.cs (1)
514
case SqlDbType.
NVarChar
:
SqlClient\SqlTypeSystemProvider.cs (25)
117
case SqlDbType.
NVarChar
:
246
case SqlDbType.
NVarChar
:
260
case SqlDbType.
NVarChar
:
386
case SqlDbType.
NVarChar
:
409
case SqlDbType.
NVarChar
:
493
case SqlDbType.
NVarChar
:
551
case SqlDbType.
NVarChar
:
637
case SqlDbType.
NVarChar
:
653
case SqlDbType.
NVarChar
:
710
case SqlDbType.
NVarChar
: return 5;
771
case SqlDbType.
NVarChar
:
912
case SqlDbType.
NVarChar
:
943
case SqlDbType.
NVarChar
:
1027
case SqlDbType.
NVarChar
:
1203
case SqlDbType.
NVarChar
:
1243
case SqlDbType.
NVarChar
:
1254
case SqlDbType.
NVarChar
:
1256
return Create(SqlDbType.
NVarChar
);
1442
return GetBestType(SqlDbType.
NVarChar
, size);
1451
return GetBestType(SqlDbType.
NVarChar
, size);
1470
case SqlDbType.
NVarChar
:
1471
return Create(SqlDbType.
NVarChar
, LargeTypeSizeIndicator);
1562
return GetBestType(SqlDbType.
NVarChar
, size);
1571
return GetBestType(SqlDbType.
NVarChar
, size);
1589
case SqlDbType.
NVarChar
:
System.Web (120)
Cache\SqlCacheDependency.cs (1)
1501
sqlCmd.Parameters.Add(new SqlParameter("@tableName", SqlDbType.
NVarChar
, table.Length));
Management\SqlWebEventProvider.cs (7)
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));
Profile\SqlProfileProvider.cs (11)
167
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
168
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, userName));
232
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
233
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
342
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
343
cmd.Parameters.Add(CreateInputParam("@UserNames", SqlDbType.
NVarChar
, allUsers));
390
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
424
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
466
args[0] = CreateInputParam("@UserNameToMatch", SqlDbType.
NVarChar
, usernameToMatch);
476
args[0] = CreateInputParam("@UserNameToMatch", SqlDbType.
NVarChar
, usernameToMatch);
511
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
Security\SQLMembershipProvider.cs (44)
365
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
366
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
367
cmd.Parameters.Add(CreateInputParam("@Password", SqlDbType.
NVarChar
, pass));
368
cmd.Parameters.Add(CreateInputParam("@PasswordSalt", SqlDbType.
NVarChar
, salt));
369
cmd.Parameters.Add(CreateInputParam("@Email", SqlDbType.
NVarChar
, email));
370
cmd.Parameters.Add(CreateInputParam("@PasswordQuestion", SqlDbType.
NVarChar
, passwordQuestion));
371
cmd.Parameters.Add(CreateInputParam("@PasswordAnswer", SqlDbType.
NVarChar
, encodedPasswordAnswer));
468
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
469
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
470
cmd.Parameters.Add(CreateInputParam("@NewPasswordQuestion", SqlDbType.
NVarChar
, newPasswordQuestion));
471
cmd.Parameters.Add(CreateInputParam("@NewPasswordAnswer", SqlDbType.
NVarChar
, encodedPasswordAnswer));
625
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
626
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
627
cmd.Parameters.Add(CreateInputParam("@NewPassword", SqlDbType.
NVarChar
, pass));
628
cmd.Parameters.Add(CreateInputParam("@PasswordSalt", SqlDbType.
NVarChar
, salt));
745
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
746
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
747
cmd.Parameters.Add(CreateInputParam("@NewPassword", SqlDbType.
NVarChar
, EncodePassword(newPassword, (int) passwordFormat, salt)));
750
cmd.Parameters.Add(CreateInputParam("@PasswordSalt", SqlDbType.
NVarChar
, salt));
754
cmd.Parameters.Add(CreateInputParam("@PasswordAnswer", SqlDbType.
NVarChar
, encodedPasswordAnswer));
825
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
826
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, user.UserName));
827
cmd.Parameters.Add(CreateInputParam("@Email", SqlDbType.
NVarChar
, user.Email));
890
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
891
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
1030
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1031
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
1121
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1122
cmd.Parameters.Add(CreateInputParam("@Email", SqlDbType.
NVarChar
, email));
1175
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1176
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
1240
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1322
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1377
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1378
cmd.Parameters.Add(CreateInputParam("@UserNameToMatch", SqlDbType.
NVarChar
, usernameToMatch));
1475
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
1476
cmd.Parameters.Add(CreateInputParam("@EmailToMatch", SqlDbType.
NVarChar
, emailToMatch));
1585
cmd.Parameters.Add( CreateInputParam( "@ApplicationName", SqlDbType.
NVarChar
, ApplicationName ) );
1586
cmd.Parameters.Add( CreateInputParam( "@UserName", SqlDbType.
NVarChar
, username ) );
1646
cmd.Parameters.Add(CreateInputParam( "@ApplicationName", SqlDbType.
NVarChar
, ApplicationName ) );
1647
cmd.Parameters.Add(CreateInputParam( "@UserName", SqlDbType.
NVarChar
, username ) );
1726
cmd.Parameters.Add( CreateInputParam( "@ApplicationName", SqlDbType.
NVarChar
, ApplicationName ) );
1727
cmd.Parameters.Add( CreateInputParam( "@UserName", SqlDbType.
NVarChar
, username ) );
1734
cmd.Parameters.Add( CreateInputParam( "@PasswordAnswer", SqlDbType.
NVarChar
, passwordAnswer ) );
Security\SQLRoleProvider.cs (23)
121
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
122
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
123
cmd.Parameters.Add(CreateInputParam("@RoleName", SqlDbType.
NVarChar
, roleName));
182
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
183
cmd.Parameters.Add(CreateInputParam("@UserName", SqlDbType.
NVarChar
, username));
252
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
253
cmd.Parameters.Add(CreateInputParam("@RoleName", SqlDbType.
NVarChar
, roleName));
305
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
306
cmd.Parameters.Add(CreateInputParam("@RoleName", SqlDbType.
NVarChar
, roleName));
356
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
357
cmd.Parameters.Add(CreateInputParam("@RoleName", SqlDbType.
NVarChar
, roleName));
471
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
472
cmd.Parameters.Add(CreateInputParam("@RoleNames", SqlDbType.
NVarChar
, roleNames));
473
cmd.Parameters.Add(CreateInputParam("@UserNames", SqlDbType.
NVarChar
, usernames));
583
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
584
cmd.Parameters.Add(CreateInputParam("@UserNames", SqlDbType.
NVarChar
, usernames));
585
cmd.Parameters.Add(CreateInputParam("@RoleNames", SqlDbType.
NVarChar
, roleNames));
638
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
639
cmd.Parameters.Add(CreateInputParam("@RoleName", SqlDbType.
NVarChar
, roleName));
707
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
767
cmd.Parameters.Add(CreateInputParam("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
768
cmd.Parameters.Add(CreateInputParam("@RoleName", SqlDbType.
NVarChar
, roleName));
769
cmd.Parameters.Add(CreateInputParam("@UserNameToMatch", SqlDbType.
NVarChar
, usernameToMatch));
State\sqlstateclientmanager.cs (14)
1289
_cmdTempGet.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1302
_cmdTempGet.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1331
_cmdTempGetExclusive.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1344
_cmdTempGetExclusive.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1369
_cmdTempReleaseExclusive.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1383
_cmdTempInsertLong.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1399
_cmdTempInsertShort.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1414
_cmdTempUpdateLong.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1431
_cmdTempUpdateShort.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1448
_cmdTempUpdateShortNullLong.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1464
_cmdTempUpdateLongNullShort.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1481
_cmdTempRemove.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1496
_cmdTempInsertUninitializedItem.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
1512
_cmdTempResetTimeout.Parameters.Add(new SqlParameter("@id", SqlDbType.
NVarChar
, ID_LENGTH));
UI\WebParts\SqlPersonalizationProvider.cs (20)
103
parameter = parameters.Add("Path", SqlDbType.
NVarChar
);
108
parameter = parameters.Add("UserName", SqlDbType.
NVarChar
);
223
parameter = parameters.Add("Path", SqlDbType.
NVarChar
);
228
parameter = parameters.Add("UserName", SqlDbType.
NVarChar
);
326
parameter = parameters.Add("Path", SqlDbType.
NVarChar
);
331
parameter = parameters.Add("UserName", SqlDbType.
NVarChar
);
402
parameter = parameters.Add("Path", SqlDbType.
NVarChar
);
407
parameter = parameters.Add("UserName", SqlDbType.
NVarChar
);
517
command.Parameters.Add(CreateParameter("@ApplicationName", SqlDbType.
NVarChar
, this.ApplicationName));
518
command.Parameters.Add(CreateParameter("@Path", SqlDbType.
NVarChar
, path));
520
command.Parameters.Add(CreateParameter("@UserName", SqlDbType.
NVarChar
, userName));
593
command.Parameters.Add(CreateParameter("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
594
command.Parameters.Add(CreateParameter("@Path", SqlDbType.
NVarChar
, path));
596
command.Parameters.Add(CreateParameter("@UserName", SqlDbType.
NVarChar
, userName));
705
parameter = parameters.Add("Path", SqlDbType.
NVarChar
);
840
parameter = parameters.Add("Path", SqlDbType.
NVarChar
);
861
parameter = parameters.Add("UserName", SqlDbType.
NVarChar
);
919
command.Parameters.Add(CreateParameter("@ApplicationName", SqlDbType.
NVarChar
, ApplicationName));
920
command.Parameters.Add(CreateParameter("@Path", SqlDbType.
NVarChar
, path));
924
command.Parameters.Add(CreateParameter("@UserName", SqlDbType.
NVarChar
, userName));
System.Workflow.Runtime (2)
Tracking\SqlTrackingQuery.cs (2)
222
param.SqlDbType = SqlDbType.
NVarChar
;
227
param.SqlDbType = SqlDbType.
NVarChar
;