How can I set the command timeout of a DbContext?
If you're using SqlServer, just add this to your connection string: "... Connect Timeout = x" Where x is the timeout in ms.