6 references to TimerFromSeconds
System.Data (6)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (1)
1203
CreationTimeout == 0 ? Timeout.Infinite : ADP.TimerCurrent() + ADP.
TimerFromSeconds
(CreationTimeout/1000),
fx\src\data\System\Data\ProviderBase\TimeoutTimer.cs (1)
99
_originalTimerTicks = ADP.
TimerFromSeconds
(seconds);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1225
commandTimeoutExpiration = ADP.TimerCurrent() + ADP.
TimerFromSeconds
(timeout);
1260
if (timeout > 0 && ADP.TimerRemaining(commandTimeoutExpiration) < ADP.
TimerFromSeconds
(ConnectRetryInterval)) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
1748
timeoutUnitInterval = checked((long)(ADP.FailoverTimeoutStep * ADP.
TimerFromSeconds
(ADP.DefaultConnectionTimeout)));
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (1)
234
long remaining = ADP.TimerRemainingSeconds(start + ADP.
TimerFromSeconds
(timeout));