Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdoTemplate.CommandTimeout Property

Gets or sets the command timeout for IDbCommands that this AdoTemplate executes. It also sets the value of the contained 'ClassicAdoTemplate'.

[Visual Basic]
Public Overrides Property CommandTimeout() As Integer
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public override int CommandTimeout { public get; public set; }

Property Value

The command timeout.

Remarks

Default is 0, indicating to use the database provider's default. Any timeout specified here will be overridden by the remaining transaction timeout when executing within a transaction that has a timeout specified at the transaction level.

See Also

AdoTemplate Class | Spring.Data.Generic Namespace