76 references to VarChar
System.Data (52)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (4)
153
type == SqlDbType.
VarChar
||
237
case SqlDbType.
VarChar
:
618
case SqlDbType.
VarChar
:
819
case SqlDbType.
VarChar
:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
120
internal static readonly SmiMetaData DefaultVarChar_NoCollation = new SmiMetaData(SqlDbType.
VarChar
, MaxANSICharacters, 0, 0, DefaultStringCompareOptions);// SqlDbType.VarChar
370
case SqlDbType.
VarChar
:
494
case SqlDbType.
VarChar
:
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (8)
114
(SqlDbType.
VarChar
== metaData.SqlDbType ||
913
case SqlDbType.
VarChar
:
1061
case SqlDbType.
VarChar
:
1188
case SqlDbType.
VarChar
:
1810
case SqlDbType.
VarChar
:
1944
case SqlDbType.
VarChar
:
2130
case SqlDbType.
VarChar
:
2253
case SqlDbType.
VarChar
:
fx\src\data\System\Data\Sql\SqlMetaData.cs (10)
183
case SqlDbType.
VarChar
:
470
else if (SqlDbType.
VarChar
== dbType) {
538
else if (SqlDbType.
VarChar
== dbType)
746
else if (SqlDbType.
VarChar
!= SqlDbType &&
882
else if (SqlDbType.
VarChar
!= SqlDbType && SqlDbType.NVarChar != SqlDbType &&
964
else if ( SqlDbType.
VarChar
!= SqlDbType && SqlDbType.NVarChar != SqlDbType &&
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
||
1609
new SqlMetaData("varchar", SqlDbType.
VarChar
,
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (3)
668
case SqlDbType.
VarChar
:
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 (3)
2844
p.SqlDbType = SqlDbType.
VarChar
;
2869
p.SqlDbType == SqlDbType.
VarChar
)) {
6284
case SqlDbType.
VarChar
:
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
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);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (8)
100
type == SqlDbType.
VarChar
||
117
type == SqlDbType.
VarChar
||
140
((int)type <= (int) SqlDbType.
VarChar
));
197
case SqlDbType.
VarChar
: return MetaVarChar;
260
case SqlDbType.
VarChar
:
547
sqlType = (typeName == MetaTypeName.CHAR) ? SqlDbType.Char : SqlDbType.
VarChar
;
758
(255, 255, -1, false, false, false, TdsEnums.SQLBIGVARCHAR, TdsEnums.SQLBIGVARCHAR, MetaTypeName.VARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.
VarChar
, DbType.AnsiString, 7);
761
(255, 255, -1, false, true, true, TdsEnums.SQLBIGVARCHAR, TdsEnums.SQLBIGVARCHAR, MetaTypeName.VARCHAR, typeof(System.String), typeof(SqlString), SqlDbType.
VarChar
, DbType.AnsiString, 7);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (5)
400
else if ( SqlDbType.Char == mt.SqlDbType || SqlDbType.
VarChar
== mt.SqlDbType ) {
408
|| ( maxLen > MSS.SmiMetaData.MaxANSICharacters && ( SqlDbType.Char == mt.SqlDbType || SqlDbType.
VarChar
== mt.SqlDbType ))
836
case SqlDbType.
VarChar
:
1582
|| mt.SqlDbType == SqlDbType.
VarChar
1597
case SqlDbType.
VarChar
:
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
4832
case SqlDbType.
VarChar
:
8957
case SqlDbType.
VarChar
:
9581
((metatype.SqlDbType == SqlDbType.
VarChar
|| metatype.SqlDbType == SqlDbType.NVarChar) && value is TextDataFeed) ||
9598
case SqlDbType.
VarChar
:
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
95
case SqlDbType.
VarChar
:
System.Data.Entity (2)
System\Data\SqlClient\SqlProviderServices.cs (2)
567
else if(type == SqlDbType.Char || type == SqlDbType.
VarChar
||
677
dbType = (unicode ? SqlDbType.NVarChar : SqlDbType.
VarChar
);
System.Data.Linq (21)
parent\DbmlShared\Mapping.cs (1)
517
case SqlDbType.
VarChar
:
SqlClient\SqlTypeSystemProvider.cs (20)
119
case SqlDbType.
VarChar
:
261
return new SqlType(SqlDbType.
VarChar
, this.Size);
387
case SqlDbType.
VarChar
:
410
case SqlDbType.
VarChar
:
495
case SqlDbType.
VarChar
:
552
case SqlDbType.
VarChar
:
638
case SqlDbType.
VarChar
:
654
case SqlDbType.
VarChar
:
707
case SqlDbType.
VarChar
: return 2;
770
case SqlDbType.
VarChar
:
914
case SqlDbType.
VarChar
:
947
case SqlDbType.
VarChar
:
1025
case SqlDbType.
VarChar
:
1204
case SqlDbType.
VarChar
:
1245
case SqlDbType.
VarChar
:
1257
case SqlDbType.
VarChar
:
1259
return Create(SqlDbType.
VarChar
);
1474
case SqlDbType.
VarChar
:
1475
return Create(SqlDbType.
VarChar
, LargeTypeSizeIndicator);
1592
case SqlDbType.
VarChar
:
System.Web (1)
State\sqlstateclientmanager.cs (1)
1074
p = cmdTempGetAppId.Parameters.Add(new SqlParameter("@appName", SqlDbType.
VarChar
, APPID_MAX));