Database.CommandTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the timeout value, in seconds, for all context operations. The default value is null, where null indicates that the default value of the underlying provider will be used.
public Nullable<int> CommandTimeout { get; set; }
member this.CommandTimeout : Nullable<int> with get, set
Public Property CommandTimeout As Nullable(Of Integer)
Property Value
The timeout, in seconds, or null to use the provider default.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework