Selfservicing DbUtils.CommandTimeOut

Posts   
 
    
bluey
User
Posts: 5
Joined: 13-Dec-2010
# Posted on: 13-Dec-2010 15:55:18   

Hello,

I want to increase the timeout for a particular database call, reading the documentation it appears that this is possible using the following namespace,

DbUtils.cs/vb, located in the HelperClasses namespace

However I don’t have the DbUtils.cs in the project.

What do i need to do to include this functionality?

Thanks

Mark

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Dec-2010 16:05:13   

Are you sure you are generating the code using the SelfServicing template Set?

bluey
User
Posts: 5
Joined: 13-Dec-2010
# Posted on: 13-Dec-2010 16:11:18   

Yes im using

Target Framework - LLBLGen Pro Runtime Target Language - C# Template Group - SelfServicing.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Dec-2010 17:12:29   

Starting from v.3.0: it's been moved to CommonDAOBase.cs as stated in the Migrating your code section of the docs.

bluey
User
Posts: 5
Joined: 13-Dec-2010
# Posted on: 13-Dec-2010 18:20:28   

Many Thanks found it!

DaoBase.CommandTimeOut = 180;