Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConnectionUtils.ApplyTransactionTimeout(IDbCommand, IDbProvider, Int32) Method

Applies the specified timeout - overridden by the current transaction timeout, if any, to to the given ADO.NET IDb command object.

[Visual Basic]
Public Overloads Shared Sub ApplyTransactionTimeout( _
   ByVal command As IDbCommand, _
   ByVal dbProvider As IDbProvider, _
   ByVal timeout As Integer _
)
[C#]
public static void ApplyTransactionTimeout(
   IDbCommand command,
   IDbProvider dbProvider,
   int timeout
);

Parameters

command
The command.
dbProvider
The db provider the command was obtained from.
timeout
The timeout to apply (or 0 for no timeout outside of a transaction.

See Also

ConnectionUtils Class | Spring.Data.Support Namespace | ConnectionUtils.ApplyTransactionTimeout Overload List