20 references to DateTime
System.Data (12)
fx\src\data\System\Data\Odbc\Odbc32.cs (3)
780static 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); 794static 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); 873case DbType.DateTime: return _DateTime;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (4)
163static 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 166static 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) 169static 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 341case DbType.DateTime: return D_DBTimeStamp;
fx\src\data\System\Data\Sql\SqlMetaData.cs (2)
1514DbType.DateTime, // SqlDbType.DateTime 1525DbType.DateTime, // SqlDbType.SmallDateTime
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
230case 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)
101case DbType.DateTime: 134dbType = DbType.DateTime;
System\Data\Common\Internal\DbTypeMap.cs (1)
89case DbType.DateTime:
System\Data\Metadata\TypeHelpers.cs (1)
760return DbType.DateTime;
System.Web (2)
UI\WebControls\Parameter.cs (2)
455case DbType.DateTime: 497return DbType.DateTime;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
401case DbType.DateTime:
System.Workflow.Runtime (1)
Tracking\SqlTrackingService.cs (1)
375param.DbType = DbType.DateTime;