25 references to BINARY
System.Data.Odbc (25)
System\Data\Odbc\Odbc32.cs (13)
555
BINARY = SQL_C.
BINARY
, //SQL_BINARY
767
private static readonly TypeMap s_binary = new TypeMap(OdbcType.Binary, DbType.Binary, typeof(byte[]), ODBC32.SQL_TYPE.BINARY, ODBC32.SQL_C.
BINARY
, ODBC32.SQL_C.
BINARY
, -1, -1, false);
776
internal static readonly TypeMap _Image = new TypeMap(OdbcType.Image, DbType.Binary, typeof(byte[]), ODBC32.SQL_TYPE.LONGVARBINARY, ODBC32.SQL_C.
BINARY
, ODBC32.SQL_C.
BINARY
, -1, -1, false);
787
private static readonly TypeMap s_timestamp = new TypeMap(OdbcType.Timestamp, DbType.Binary, typeof(byte[]), ODBC32.SQL_TYPE.BINARY, ODBC32.SQL_C.
BINARY
, ODBC32.SQL_C.
BINARY
, -1, -1, false);
789
private static readonly TypeMap s_varBinary = new TypeMap(OdbcType.VarBinary, DbType.Binary, typeof(byte[]), ODBC32.SQL_TYPE.VARBINARY, ODBC32.SQL_C.
BINARY
, ODBC32.SQL_C.
BINARY
, -1, -1, false);
791
private static readonly TypeMap s_variant = new TypeMap(OdbcType.Binary, DbType.Binary, typeof(object), ODBC32.SQL_TYPE.SS_VARIANT, ODBC32.SQL_C.
BINARY
, ODBC32.SQL_C.
BINARY
, -1, -1, false);
792
private static readonly TypeMap s_UDT = new TypeMap(OdbcType.Binary, DbType.Binary, typeof(object), ODBC32.SQL_TYPE.SS_UDT, ODBC32.SQL_C.
BINARY
, ODBC32.SQL_C.
BINARY
, -1, -1, false);
System\Data\Odbc\OdbcDataReader.cs (7)
533
bool isNotDbNull = QueryFieldInfo(i, ODBC32.SQL_C.
BINARY
, out _);
1215
sqlctype = isCharsBuffer ? ODBC32.SQL_C.WCHAR : ODBC32.SQL_C.
BINARY
;
1381
isNotDbNull = GetData(i, ODBC32.SQL_C.
BINARY
, cbReadMax, out cbTotal);
1469
if (GetData(i, ODBC32.SQL_C.
BINARY
, cbBufferLen, out cbActual))
1485
bool flag = GetData(i, ODBC32.SQL_C.
BINARY
, cbBufferLen, out cbActual);
1505
while ((ODBC32.SQL_NO_TOTAL == cbActual) && GetData(i, ODBC32.SQL_C.
BINARY
, cbBufferLen, out cbActual));
1764
if (sqlctype != ODBC32.SQL_C.WCHAR && sqlctype != ODBC32.SQL_C.
BINARY
)
System\Data\Odbc\OdbcParameter.cs (3)
336
Debug.Assert((ODBC32.SQL_C.WCHAR == _bindtype._sql_c) || (ODBC32.SQL_C.
BINARY
== _bindtype._sql_c), "not wchar or binary");
475
Debug.Assert((ODBC32.SQL_C.WCHAR == _bindtype._sql_c) || (ODBC32.SQL_C.
BINARY
== _bindtype._sql_c), "not wchar or binary");
1069
case ODBC32.SQL_C.
BINARY
:
System\Data\Odbc\OdbcUtils.cs (2)
44
case ODBC32.SQL_C.
BINARY
:
201
case ODBC32.SQL_C.
BINARY
: