9 references to STR
System.Data (9)
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (4)
161
static private readonly NativeDBType D_Char = new NativeDBType(0xff, -1, true, false, OleDbType.Char, NativeDBType.
STR
, S_CHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiStringFixedLength); // 3 - (ansi pointer)
178
static private readonly NativeDBType D_LongVarChar = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarChar, NativeDBType.
STR
, S_LONGVARCHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiString); // 20 - (ansi pointer)
189
static private readonly NativeDBType D_VarChar = new NativeDBType(0xff, -1, false, false, OleDbType.VarChar, NativeDBType.
STR
, S_VARCHAR, typeof(System.String), NativeDBType.WSTR/*STR*/, DbType.AnsiString); // 30 - (ansi pointer)
390
case
STR
: return (isLong) ? D_LongVarChar : (isFixed) ? D_Char : D_VarChar;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
1448
Debug.Assert(NativeDBType.
STR
!= getType, "Should have bound as WSTR");
fx\src\data\System\Data\OleDb\OleDbParameter.cs (4)
301
if (NativeDBType.
STR
== dbtype.dbType) {
333
Debug.Assert(NativeDBType.
STR
!= dbtype.wType, "should have ANSI binding, describing is okay");
338
if (NativeDBType.
STR
== dbtype.dbType) { // WebData 98140
355
Debug.Assert(NativeDBType.
STR
!= dbtype.wType, "should have ANSI binding, describing is okay");