This question is locked. New answers and comments are not allowed.
Hello,
i use this code in my application to execute a store procedure:
how can i change the timeout ?
i was found this answer
http://www.telerik.com/community/forums/orm/development/how-to-set-commandtimeout-for-stored-procedures-called-as-a-domain-method.aspx
but i don't know how to apply this solution for my query that returns a list as result.
can somebody give me a hint how to solve this?
thanks
Remco
i use this code in my application to execute a store procedure:
var bookings = DbContext.ExecuteQuery<UserCreditDebit>("SP_CalcUsersCreditDebit").ToList();
foreach (UserCreditDebit booking in bookings)
{
.... do some stuff
}this work normal very fine.. but if i have a lot of data i get a SQL Timeout error.how can i change the timeout ?
i was found this answer
http://www.telerik.com/community/forums/orm/development/how-to-set-commandtimeout-for-stored-procedures-called-as-a-domain-method.aspx
but i don't know how to apply this solution for my query that returns a list as result.
can somebody give me a hint how to solve this?
thanks
Remco