4 writes to ticks
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (4)
883
_value._timeInfo.
ticks
= timeSpan.Ticks;
901
_value._dateTime2Info.timeInfo.
ticks
= dateTime.TimeOfDay.Ticks;
922
_value._dateTimeOffsetInfo.dateTime2Info.timeInfo.
ticks
= utcDateTime.TimeOfDay.Ticks;
941
timeInfo.
ticks
= tickUnits * TdsEnums.TICKS_FROM_SCALE[scale];
3 references to ticks
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (3)
367
return new DateTime(_value._timeInfo.
ticks
).ToString(__katmaiTimeFormatByScale[scale], DateTimeFormatInfo.InvariantInfo);
402
return new TimeSpan(_value._timeInfo.
ticks
);
424
return (dateTime2Info.date * TimeSpan.TicksPerDay + dateTime2Info.timeInfo.
ticks
);