DbMigrationsConfiguration.CommandTimeout Property
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Gets or sets the timeout value used for the individual commands within a migration. A null value indicates that the default value of the underlying provider will be used.
Namespace: System.Data.Entity.Migrations
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Property CommandTimeout As Nullable(Of Integer)
Get
Set
'Usage
Dim instance As DbMigrationsConfiguration
Dim value As Nullable(Of Integer)
value = instance.CommandTimeout
instance.CommandTimeout = value
public Nullable<int> CommandTimeout { get; set; }
public:
property Nullable<int> CommandTimeout {
Nullable<int> get ();
void set (Nullable<int> value);
}
member CommandTimeout : Nullable<int> with get, set
function get CommandTimeout () : Nullable<int>
function set CommandTimeout (value : Nullable<int>)
Property Value
Type: System.Nullable<Int32>