37 references to WCHAR
System.Data (37)
fx\src\data\System\Data\Odbc\Odbc32.cs (11)
537
WCHAR = SQL_C.
WCHAR
, //SQL_WCHAR
779
static internal readonly TypeMap _Char = new TypeMap(OdbcType.Char, DbType.AnsiStringFixedLength, typeof(String), ODBC32.SQL_TYPE.CHAR, ODBC32.SQL_C.
WCHAR
, ODBC32.SQL_C.CHAR, -1, -1, false);
788
static private readonly TypeMap _NChar = new TypeMap(OdbcType.NChar, DbType.StringFixedLength, typeof(String), ODBC32.SQL_TYPE.WCHAR, ODBC32.SQL_C.
WCHAR
, ODBC32.SQL_C.
WCHAR
, -1, -1, false);
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);
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);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (18)
609
if (GetData(i, ODBC32.SQL_C.
WCHAR
)) {
661
if (GetData(i, ODBC32.SQL_C.
WCHAR
)) {
662
string value = (string)Buffer.MarshalToManaged(0, ODBC32.SQL_C.
WCHAR
, ODBC32.SQL_NTS);
747
if(GetData(i, ODBC32.SQL_C.
WCHAR
)){
750
s = (string)Buffer.MarshalToManaged(0, ODBC32.SQL_C.
WCHAR
, ODBC32.SQL_NTS);
821
if (GetData(i, ODBC32.SQL_C.
WCHAR
, buffer.Length - 2, out lengthOrIndicator)) {
861
gotData = GetData(i, ODBC32.SQL_C.
WCHAR
, buffer.Length - 2, out lengthOrIndicator);
1048
sqlctype = isCharsBuffer ? ODBC32.SQL_C.
WCHAR
: ODBC32.SQL_C.BINARY;
1143
bool isDbNull = !QueryFieldInfo(i, ODBC32.SQL_C.
WCHAR
, out cbLengthOrIndicator);
1195
isNotDbNull = GetData(i, ODBC32.SQL_C.
WCHAR
, cbReadMax + 2, out cbTotal);
1479
if (sqlctype == ODBC32.SQL_C.
WCHAR
) {
1549
if (sqlctype != ODBC32.SQL_C.
WCHAR
&& sqlctype != ODBC32.SQL_C.BINARY) {
2069
ODBC32.SQL_C.
WCHAR
,
2111
ODBC32.SQL_C.
WCHAR
, // SQLSMALLINT TargetType
2138
ODBC32.SQL_C.
WCHAR
,
2157
ODBC32.SQL_C.
WCHAR
,
2238
ODBC32.SQL_C.
WCHAR
,
2251
ODBC32.SQL_C.
WCHAR
,
fx\src\data\System\Data\Odbc\OdbcParameter.cs (6)
309
Debug.Assert((ODBC32.SQL_C.
WCHAR
== _bindtype._sql_c) || (ODBC32.SQL_C.BINARY == _bindtype._sql_c), "not wchar or binary");
425
Debug.Assert((ODBC32.SQL_C.
WCHAR
== _bindtype._sql_c) || (ODBC32.SQL_C.BINARY == _bindtype._sql_c), "not wchar or binary");
430
if (_bindtype._sql_c == ODBC32.SQL_C.
WCHAR
) {
455
else if (ODBC32.SQL_C.
WCHAR
== _bindtype._sql_c) {
641
if (sql_c_type == ODBC32.SQL_C.
WCHAR
) {
927
case ODBC32.SQL_C.
WCHAR
:
fx\src\data\System\Data\Odbc\OdbcUtils.cs (2)
33
case ODBC32.SQL_C.
WCHAR
:
157
case ODBC32.SQL_C.
WCHAR
: