33 references to String
System.Data (18)
fx\src\data\System\Data\Odbc\Odbc32.cs (3)
789
static internal readonly TypeMap _NText = new TypeMap(OdbcType.NText, DbType.
String
, typeof(String), ODBC32.SQL_TYPE.WLONGVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.WCHAR, -1, -1, false);
791
static internal readonly TypeMap _NVarChar = new TypeMap(OdbcType.NVarChar, DbType.
String
, typeof(String), ODBC32.SQL_TYPE.WVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.WCHAR, -1, -1, false);
881
case DbType.
String
: return _NVarChar;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (5)
160
static private readonly NativeDBType D_BSTR = new NativeDBType(0xff, ADP.PtrSize, false, false, OleDbType.BSTR, NativeDBType.BSTR, S_BSTR, typeof(System.String), NativeDBType.BSTR, DbType.
String
); // 2 - integer4 (pointer)
193
static private readonly NativeDBType D_VarWChar = new NativeDBType(0xff, -1, false, false, OleDbType.VarWChar, NativeDBType.WSTR, S_WVARCHAR, typeof(System.String), NativeDBType.WSTR, DbType.
String
); // 34 - (unicode pointer)
194
static private readonly NativeDBType D_LongVarWChar = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarWChar, NativeDBType.WSTR, S_WLONGVARCHAR, typeof(System.String), NativeDBType.WSTR, DbType.
String
); // 35 - (unicode pointer)
197
static private readonly NativeDBType D_Xml = new NativeDBType(0xff, -1, false, false, OleDbType.VarWChar, NativeDBType.XML, S_XML, typeof(System.String), NativeDBType.WSTR, DbType.
String
); // 38 - (unicode pointer)
351
case DbType.
String
: return D_VarWChar;
fx\src\data\System\Data\Sql\SqlMetaData.cs (6)
1520
DbType.
String
, // SqlDbType.NChar
1521
DbType.
String
, // SqlDbType.NText
1522
DbType.
String
, // SqlDbType.NVarChar
1536
DbType.
String
, // SqlDbType.NVarChar, place holder
1537
DbType.
String
, // SqlDbType.NVarChar, place holder
1538
DbType.
String
, // SqlDbType.NVarChar, place holder
fx\src\data\System\Data\SqlClient\SqlEnums.cs (4)
239
case DbType.
String
: return MetaNVarChar;
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);
779
(255, 255, -1, false, true, false, TdsEnums.SQLNTEXT, TdsEnums.SQLNTEXT, MetaTypeName.NTEXT, typeof(System.String), typeof(SqlString), SqlDbType.NText, DbType.
String
, 7);
System.Data.Entity (12)
System\Data\Common\DbCommandDefinition.cs (3)
109
case DbType.
String
:
167
dbType = DbType.
String
;
244
parameter.DbType = (unicode ? DbType.
String
: DbType.AnsiString);
System\Data\Common\Internal\DbTypeMap.cs (1)
65
case DbType.
String
:
System\Data\EntityClient\EntityParameter.cs (5)
169
return DbType.
String
;
267
DbType oldDbType = DbType.
String
;
274
DbType newDbType = DbType.
String
;
477
if (dbType == DbType.
String
)
481
return _dbType == DbType.
String
|| _dbType == DbType.AnsiString
System\Data\Metadata\TypeHelpers.cs (3)
713
return DbType.
String
;
740
return DbType.
String
;
762
return DbType.
String
;
System.Web (2)
UI\WebControls\Parameter.cs (2)
443
case DbType.
String
:
513
return DbType.
String
;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
389
case DbType.
String
: