My command keeps timing out, so I need to change the default command timeout value.
I\'ve found myDb.Database.Connection.ConnectionTimeout, but it\'s
myDb.Database.Connection.ConnectionTimeout
In the generated constructor code it should call OnContextCreated()
OnContextCreated()
I added this partial class to solve the problem:
partial class MyContext: ObjectContext { partial void OnContextCreated() { this.CommandTimeout = 300; } }