Database.CommandTimeout Property

 

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.

Namespace:   System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)

public Nullable<int> CommandTimeout { get; set; }

Property Value

Type: System.Nullable<Int32>

The timeout, in seconds, or null to use the provider default.