20 references to AnsiString
System.Data (14)
fx\src\data\System\Data\Odbc\Odbc32.cs (4)
796
static internal readonly TypeMap _Text = new TypeMap(OdbcType.Text, DbType.
AnsiString
, typeof(String), ODBC32.SQL_TYPE.LONGVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false);
800
static internal readonly TypeMap _VarChar = new TypeMap(OdbcType.VarChar, DbType.
AnsiString
, typeof(String), ODBC32.SQL_TYPE.VARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false);
803
static private readonly TypeMap _XML = new TypeMap(OdbcType.Text, DbType.
AnsiString
, typeof(String), ODBC32.SQL_TYPE.LONGVARCHAR, ODBC32.SQL_C.WCHAR, ODBC32.SQL_C.CHAR, -1, -1, false);
864
case DbType.
AnsiString
: return _VarChar;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (3)
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)
334
case DbType.
AnsiString
: return D_VarChar;
fx\src\data\System\Data\Sql\SqlMetaData.cs (3)
1513
DbType.
AnsiString
, // SqlDbType.Char
1528
DbType.
AnsiString
, // SqlDbType.Text
1532
DbType.
AnsiString
, // SqlDbType.VarChar
fx\src\data\System\Data\SqlClient\SqlEnums.cs (4)
223
case DbType.
AnsiString
: return MetaVarChar;
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);
764
(255, 255, -1, false, true, false, TdsEnums.SQLTEXT, TdsEnums.SQLTEXT, MetaTypeName.TEXT, typeof(System.String), typeof(SqlString), SqlDbType.Text, DbType.
AnsiString
, 0);
System.Data.Entity (3)
System\Data\Common\DbCommandDefinition.cs (1)
244
parameter.DbType = (unicode ? DbType.String : DbType.
AnsiString
);
System\Data\Common\Internal\DbTypeMap.cs (1)
57
case DbType.
AnsiString
:
System\Data\EntityClient\EntityParameter.cs (1)
481
return _dbType == DbType.String || _dbType == DbType.
AnsiString
System.Web (2)
UI\WebControls\Parameter.cs (2)
127
if (value < DbType.
AnsiString
|| value > DbType.DateTimeOffset) {
441
case DbType.
AnsiString
:
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
387
case DbType.
AnsiString
: