EntityCommand.CommandTimeout Property

 

Gets or sets the amount of time to wait before timing out.

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

public override int CommandTimeout { get; set; }

Property Value

Type: System.Int32

The time in seconds to wait for the command to execute.

.NET Framework
Available since 3.5
Return to top
Show: