9 references to STR
System.Data (9)
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (4)
161static 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) 178static 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) 189static 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) 390case STR: return (isLong) ? D_LongVarChar : (isFixed) ? D_Char : D_VarChar;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
1448Debug.Assert(NativeDBType.STR != getType, "Should have bound as WSTR");
fx\src\data\System\Data\OleDb\OleDbParameter.cs (4)
301if (NativeDBType.STR == dbtype.dbType) { 333Debug.Assert(NativeDBType.STR != dbtype.wType, "should have ANSI binding, describing is okay"); 338if (NativeDBType.STR == dbtype.dbType) { // WebData 98140 355Debug.Assert(NativeDBType.STR != dbtype.wType, "should have ANSI binding, describing is okay");