ObjectContext.CommandTimeout Property

 

Gets or sets the timeout value, in seconds, for all object context operations. A null value indicates that the default value of the underlying provider will be used.

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

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

Property Value

Type: System.Nullable<Int32>

An Int32 value that is the timeout value, in seconds.