51 references to Time
System.Data (37)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (5)
79
SqlDbType.
Time
, // System.TimeSpan
354
case SqlDbType.
Time
:
481
md.SqlDbType != SqlDbType.
Time
;
678
else if (dbType == SqlDbType.DateTime2 || dbType == SqlDbType.DateTimeOffset || dbType == SqlDbType.
Time
) {
904
case SqlDbType.
Time
:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
126
internal static readonly SmiMetaData DefaultTime = new SmiMetaData(SqlDbType.
Time
, 5, 0, 7, SqlCompareOptions.None); // SqlDbType.Time
411
case SqlDbType.
Time
:
475
case SqlDbType.
Time
:
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (6)
818
case SqlDbType.
Time
:
961
case SqlDbType.
Time
:
1277
case SqlDbType.
Time
:
1996
case SqlDbType.
Time
: { // block to scope sqlReader local and avoid conflicts
2275
case SqlDbType.
Time
:
2429
if (SqlDbType.
Time
== dbType && (x_timeMin > value || value > x_timeMax)) {
fx\src\data\System\Data\Sql\SqlMetaData.cs (7)
192
case SqlDbType.
Time
:
435
SqlDbType.
Time
== dbType ||
606
} else if (SqlDbType.
Time
== dbType || SqlDbType.DateTime2 == dbType || SqlDbType.DateTimeOffset == dbType) {
1029
if (SqlDbType.
Time
!= SqlDbType)
1297
smd = new SqlMetaData(name, SqlDbType.
Time
, 0, InferScaleFromTimeTicks(((TimeSpan)value).Ticks));
1480
if (SqlDbType.
Time
== SqlDbType && (x_timeMin > value || value > x_timeMax)) {
1629
new SqlMetaData("time", SqlDbType.
Time
,
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
538
case SqlDbType.
Time
:
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
629
SqlDbType.
Time
== colMetaData.SqlDbType ||
fx\src\data\System\Data\SqlClient\SqlEnums.cs (5)
157
SqlDbType.
Time
== type ||
167
return (type == SqlDbType.
Time
|| type == SqlDbType.DateTime2 || type == SqlDbType.DateTimeOffset);
210
case SqlDbType.
Time
: return MetaTime;
624
sqlType = SqlDbType.
Time
;
826
(255, 7, -1, false, false, false, TdsEnums.SQLTIME, TdsEnums.SQLTIME, MetaTypeName.TIME, typeof(System.TimeSpan), typeof(System.TimeSpan), SqlDbType.
Time
, DbType.Time, 1);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
867
case SqlDbType.
Time
:
949
else if ((typeof(string) == currentType) && (SqlDbType.
Time
== destinationType.SqlDbType)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
4243
case SqlDbType.
Time
:
4867
case SqlDbType.
Time
:
8998
case SqlDbType.
Time
:
9237
case SqlDbType.
Time
:
9347
case SqlDbType.
Time
:
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
526
return SqlDbType.Date == type || SqlDbType.
Time
== type || SqlDbType.DateTime2 == type || SqlDbType.DateTimeOffset == type;
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
81
case SqlDbType.
Time
:
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
468
return SqlDbType.
Time
;
System.Data.Linq (12)
SqlClient\Common\SqlFactory.cs (2)
276
return (((SqlTypeSystem.SqlType)(exp.SqlType)).SqlDbType == SqlDbType.
Time
);
285
return (sqlDbType == SqlDbType.
Time
|| sqlDbType == SqlDbType.DateTime2 || sqlDbType == SqlDbType.DateTimeOffset);
SqlClient\Query\SqlParameterizer.cs (2)
151
if (isLeftColRef && leftSqlDbType == SqlDbType.
Time
&& bo.Right.ClrType == typeof(DateTime))
153
else if (isRightColRef && rightSqlDbType == SqlDbType.
Time
&& bo.Left.ClrType == typeof(DateTime))
SqlClient\SqlTypeSystemProvider.cs (8)
60
case SqlDbType.
Time
: return theTime;
99
case SqlDbType.
Time
:
149
static private readonly SqlType theTime = new SqlType(SqlDbType.
Time
);
429
case SqlDbType.
Time
:
461
case SqlDbType.
Time
:
727
case SqlDbType.
Time
: return 22;
785
case SqlDbType.
Time
:
1164
case SqlDbType.
Time
:
System.Web (1)
UI\WebControls\SqlDataSourceView.cs (1)
1226
sqlParameter.SqlDbType = SqlDbType.
Time
;