Chris Straw
SHARE:

EF Stored Proc Timeout

When I have a long running stored procedure, I can never remember which timeout to set. I’m putting this here so my future self remembers! 🙂

Context.Database.CommandTimeout = 180;

Context being the context variable you’ve defined.