Base solution for your next web application
Open Closed

How set command timeout? #3285


User avatar
0
omital created

Hi How I can change command timeout for dbContext ?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you try to set it in your module's preInitialize like this:

    Configuration.UnitOfWork.Timeout = TimeSpan.FromMinutes(30);