30 references to Binary
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\StoreUtilities.cs (1)
153
else if (sqlParameter.DbType == System.Data.DbType.
Binary
)
System.Data (23)
fx\src\data\System\Data\Odbc\Odbc32.cs (7)
777
static private readonly TypeMap _Binary = new TypeMap(OdbcType.Binary, DbType.
Binary
, typeof(byte[]), ODBC32.SQL_TYPE.BINARY, ODBC32.SQL_C.BINARY, ODBC32.SQL_C.BINARY, -1, -1, false);
786
static internal 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);
797
static private readonly TypeMap _Timestamp = new TypeMap(OdbcType.Timestamp, DbType.
Binary
, typeof(Byte[]), ODBC32.SQL_TYPE.BINARY, ODBC32.SQL_C.BINARY, ODBC32.SQL_C.BINARY, -1, -1, false);
799
static private readonly TypeMap _VarBinary = new TypeMap(OdbcType.VarBinary, DbType.
Binary
, typeof(Byte[]), ODBC32.SQL_TYPE.VARBINARY, ODBC32.SQL_C.BINARY, ODBC32.SQL_C.BINARY, -1, -1, false);
801
static private readonly TypeMap _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);
802
static private readonly TypeMap _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);
866
case DbType.
Binary
: return _VarBinary;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (5)
158
static private readonly NativeDBType D_Binary = new NativeDBType(0xff, -1, true, false, OleDbType.Binary, NativeDBType.BYTES, S_BINARY, typeof(System.Byte[]), NativeDBType.BYTES, DbType.
Binary
); // 0
177
static private readonly NativeDBType D_LongVarBinary = new NativeDBType(0xff, -1, false, true, OleDbType.LongVarBinary, NativeDBType.BYTES, S_LONGVARBINARY, typeof(System.Byte[]), NativeDBType.BYTES, DbType.
Binary
); // 19
188
static private readonly NativeDBType D_VarBinary = new NativeDBType(0xff, -1, false, false, OleDbType.VarBinary, NativeDBType.BYTES, S_VARBINARY, typeof(System.Byte[]), NativeDBType.BYTES, DbType.
Binary
); // 29
198
static private readonly NativeDBType D_Udt = new NativeDBType(0xff, -1, false, false, OleDbType.VarBinary, NativeDBType.UDT, S_BINARY, typeof(System.Byte[]), NativeDBType.BYTES, DbType.
Binary
); // 39 - (unicode pointer)
336
case DbType.
Binary
: return D_VarBinary;
fx\src\data\System\Data\Sql\SqlMetaData.cs (4)
1511
DbType.
Binary
, // SqlDbType.Binary
1517
DbType.
Binary
, // SqlDbType.Image
1529
DbType.
Binary
, // SqlDbType.Timestamp
1531
DbType.
Binary
, // SqlDbType.VarBinary
fx\src\data\System\Data\SqlClient\SqlEnums.cs (7)
225
case DbType.
Binary
: return MetaVarBinary;
718
(255, 255, -1, false, false, false, TdsEnums.SQLBIGBINARY, TdsEnums.SQLBIGBINARY, MetaTypeName.BINARY, typeof(System.Byte[]), typeof(SqlBinary), SqlDbType.Binary, DbType.
Binary
, 2);
722
(255, 255, -1, false, false, false, TdsEnums.SQLBIGBINARY, TdsEnums.SQLBIGBINARY, MetaTypeName.TIMESTAMP, typeof(System.Byte[]), typeof(SqlBinary), SqlDbType.Timestamp, DbType.
Binary
, 2);
725
(255, 255, -1, false, false, false, TdsEnums.SQLBIGVARBINARY, TdsEnums.SQLBIGVARBINARY, MetaTypeName.VARBINARY, typeof(System.Byte[]), typeof(SqlBinary), SqlDbType.VarBinary, DbType.
Binary
, 2);
728
(255, 255, -1, false, true, true, TdsEnums.SQLBIGVARBINARY, TdsEnums.SQLBIGVARBINARY, MetaTypeName.VARBINARY, typeof(System.Byte[]), typeof(SqlBinary), SqlDbType.VarBinary, DbType.
Binary
, 2);
734
(255, 255, -1, false, false, false, TdsEnums.SQLVARBINARY, TdsEnums.SQLBIGBINARY, ADP.StrEmpty, typeof(System.Byte[]), typeof(SqlBinary), TdsEnums.SmallVarBinary, DbType.
Binary
, 2);
737
(255, 255, -1, false, true, false, TdsEnums.SQLIMAGE, TdsEnums.SQLIMAGE, MetaTypeName.IMAGE, typeof(System.Byte[]), typeof(SqlBinary), SqlDbType.Image, DbType.
Binary
, 0);
System.Data.Entity (4)
System\Data\Common\DbCommandDefinition.cs (2)
98
case DbType.
Binary
:
125
dbType = DbType.
Binary
;
System\Data\Common\Internal\DbTypeMap.cs (1)
77
case DbType.
Binary
:
System\Data\Metadata\TypeHelpers.cs (1)
708
return DbType.
Binary
;
System.Web (1)
UI\WebControls\Parameter.cs (1)
478
case DbType.
Binary
:
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
428
case DbType.
Binary
: