Reputation: 1324
I'm trying to figure what's the default value for the ObjectContext.CommandTimeout
(in System.Data.Entity.dll
) property for providerName="System.Data.EntityClient"
?
tnx
Upvotes: 4
Views: 1416
Reputation: 633
When setting ObjectContext.CommandTimeout
to null
or not setting it, the default value of the underlying provider will be used.
MSDN: ObjectContext.CommandTimeout Property
The default timeout for SQL Server is 30 seconds.
MSDN: SqlCommand.CommandTimeout Property
Upvotes: 6