35 references to Object
System.Data (18)
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
883
case DbType.
Object
:
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (7)
175
static private readonly NativeDBType D_IDispatch = new NativeDBType(0xff, ADP.PtrSize, true, false, OleDbType.IDispatch, NativeDBType.IDISPATCH, S_IDISPATCH, typeof(System.Object), NativeDBType.IDISPATCH, DbType.
Object
); // 17 - integer4 (pointer)
176
static private readonly NativeDBType D_IUnknown = new NativeDBType(0xff, ADP.PtrSize, true, false, OleDbType.IUnknown, NativeDBType.IUNKNOWN, S_IUNKNOWN, typeof(System.Object), NativeDBType.IUNKNOWN, DbType.
Object
); // 18 - integer4 (pointer) // MDAC 64040
181
true, false, OleDbType.PropVariant, NativeDBType.PROPVARIANT, S_PROPVARIANT, typeof(System.Object), NativeDBType.VARIANT, DbType.
Object
); // 22
190
static private readonly NativeDBType D_Variant = new NativeDBType(0xff, ODB.SizeOf_Variant, true, false, OleDbType.Variant, NativeDBType.VARIANT, S_VARIANT, typeof(System.Object), NativeDBType.VARIANT, DbType.
Object
); // 31 - ubyte[16] (variant)
195
static private readonly NativeDBType D_Chapter = new NativeDBType(0xff, ADP.PtrSize, false, false, OleDbType.Empty, NativeDBType.HCHAPTER, S_UDT, typeof(IDataReader), NativeDBType.HCHAPTER, DbType.
Object
); // 36 - (hierarchical chaper)
196
static private readonly NativeDBType D_Empty = new NativeDBType(0xff, 0, false, false, OleDbType.Empty, NativeDBType.EMPTY, "", null, NativeDBType.EMPTY, DbType.
Object
); // 37 - invalid param default
348
case DbType.
Object
: return D_Variant;
fx\src\data\System\Data\Sql\SqlMetaData.cs (4)
1533
DbType.
Object
, // SqlDbType.Variant
1534
DbType.
Object
, // SqlDbType.Row
1539
DbType.
Object
, // SqlDbType.Udt
1540
DbType.
Object
, // SqlDbType.Structured
fx\src\data\System\Data\SqlClient\SqlEnums.cs (6)
237
case DbType.
Object
: return MetaVariant;
806
(255, 255, -1, true, false, false, TdsEnums.SQLVARIANT, TdsEnums.SQLVARIANT, MetaTypeName.VARIANT, typeof(System.Object), typeof(System.Object), SqlDbType.Variant, DbType.
Object
, 0);
809
(255, 255, -1, false, false, true, TdsEnums.SQLUDT, TdsEnums.SQLUDT, MetaTypeName.UDT, typeof(System.Object), typeof(System.Object), SqlDbType.Udt, DbType.
Object
, 0);
812
(255, 255, -1, false, true, true, TdsEnums.SQLUDT, TdsEnums.SQLUDT, MetaTypeName.UDT, typeof(System.Object), typeof(System.Object), SqlDbType.Udt, DbType.
Object
, 0);
815
(255, 255, -1, false, false, false, TdsEnums.SQLTABLE, TdsEnums.SQLTABLE, MetaTypeName.TABLE, typeof(IEnumerable<DbDataRecord>), typeof(IEnumerable<DbDataRecord>), SqlDbType.Structured, DbType.
Object
, 0);
820
(255, 255, -1, false, false, false, TdsEnums.SQLVOID, TdsEnums.SQLVOID, "", typeof(MSS.SqlDataRecord), typeof(MSS.SqlDataRecord), SqlDbType.Structured, DbType.
Object
, 0);
System.Data.Entity (5)
System\Data\EntityClient\EntityCommand.cs (1)
831
if (parameter.EdmType == null && parameter.DbType == DbType.
Object
&& (parameter.Value == null || parameter.Value is DBNull))
System\Data\EntityClient\EntityParameter.cs (2)
445
if (this.DbType == DbType.
Object
&&
500
return DbType.
Object
;
System\Data\Metadata\TypeHelpers.cs (2)
728
return DbType.
Object
;
731
return DbType.
Object
;
System.Web (7)
UI\WebControls\Parameter.cs (6)
115
DefaultValue(DbType.
Object
),
123
return DbType.
Object
;
221
if (dbType == DbType.
Object
) {
232
if (dbType == DbType.
Object
) {
479
case DbType.
Object
:
524
return DbType.
Object
;
UI\WebControls\SqlDataSourceView.cs (1)
1212
if (parameter.DbType != DbType.
Object
|| (parameter.Type != TypeCode.Empty && parameter.Type != TypeCode.DBNull)) {
System.Web.Entity (5)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
430
case DbType.
Object
:
System\Data\WebControls\WebControlParameterProxy.cs (4)
93
return DbType.
Object
;
100
Debug.Assert(this.TypeCode != TypeCode.Empty || this.DbType != DbType.
Object
, "Need to have TypeCode or DbType to get a ClrType");
151
if (parameter != null && parameter.Type == TypeCode.Empty && parameter.DbType == DbType.
Object
)
156
if (parameter != null && parameter.DbType != DbType.
Object
&& parameter.Type != TypeCode.Empty)