20 references to DateTime
System.Data (12)
fx\src\data\System\Data\Odbc\Odbc32.cs (3)
780
static private readonly TypeMap _DateTime = new TypeMap(OdbcType.DateTime, DbType.
DateTime
, typeof(DateTime), ODBC32.SQL_TYPE.TYPE_TIMESTAMP, ODBC32.SQL_C.TYPE_TIMESTAMP, ODBC32.SQL_C.TYPE_TIMESTAMP, 16, 23, false);
794
static private readonly TypeMap _SmallDT = new TypeMap(OdbcType.SmallDateTime, DbType.
DateTime
, typeof(DateTime), ODBC32.SQL_TYPE.TYPE_TIMESTAMP, ODBC32.SQL_C.TYPE_TIMESTAMP, ODBC32.SQL_C.TYPE_TIMESTAMP, 16, 23, false);
873
case DbType.
DateTime
: return _DateTime;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (4)
163
static private readonly NativeDBType D_Date = new NativeDBType(0xff, 8, true, false, OleDbType.Date, NativeDBType.DATE, S_DATE, typeof(System.DateTime), NativeDBType.DATE, DbType.
DateTime
); // 5 - double
166
static private readonly NativeDBType D_DBTimeStamp = new NativeDBType(0xff, 16, true, false, OleDbType.DBTimeStamp, NativeDBType.DBTIMESTAMP, S_DBTIMESTAMP, typeof(System.DateTime), NativeDBType.DBTIMESTAMP, DbType.
DateTime
); // 8 - (tagDBTIMESTAMP)
169
static private readonly NativeDBType D_Filetime = new NativeDBType(0xff, 8, true, false, OleDbType.Filetime, NativeDBType.FILETIME, S_FILETIME, typeof(System.DateTime), NativeDBType.FILETIME, DbType.
DateTime
); // 11 - integer8 // MDAC 59504
341
case DbType.
DateTime
: return D_DBTimeStamp;
fx\src\data\System\Data\Sql\SqlMetaData.cs (2)
1514
DbType.
DateTime
, // SqlDbType.DateTime
1525
DbType.
DateTime
, // SqlDbType.SmallDateTime
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
230
case DbType.
DateTime
: return MetaDateTime;
791
(23, 3, 8, true, false, false, TdsEnums.SQLDATETIME, TdsEnums.SQLDATETIMN, MetaTypeName.DATETIME, typeof(System.DateTime), typeof(SqlDateTime), SqlDbType.DateTime, DbType.
DateTime
, 0);
794
(16, 0, 4, true, false, false, TdsEnums.SQLDATETIM4, TdsEnums.SQLDATETIMN, MetaTypeName.SMALLDATETIME, typeof(System.DateTime), typeof(SqlDateTime), SqlDbType.SmallDateTime, DbType.
DateTime
, 0);
System.Data.Entity (4)
System\Data\Common\DbCommandDefinition.cs (2)
101
case DbType.
DateTime
:
134
dbType = DbType.
DateTime
;
System\Data\Common\Internal\DbTypeMap.cs (1)
89
case DbType.
DateTime
:
System\Data\Metadata\TypeHelpers.cs (1)
760
return DbType.
DateTime
;
System.Web (2)
UI\WebControls\Parameter.cs (2)
455
case DbType.
DateTime
:
497
return DbType.
DateTime
;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
401
case DbType.
DateTime
:
System.Workflow.Runtime (1)
Tracking\SqlTrackingService.cs (1)
375
param.DbType = DbType.
DateTime
;