How can I set the command timeout of a DbContext?
A better solution to this for later versions of Entity Framework is to use the DbContext.Database.CommandTimeout property. I think this came in with EF 6.
DbContext.Database.CommandTimeout