who set command timeout in web.config ? #3063
-
hi, how set timeout in web.config ?? tanx , bro |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Connection string used only by database provider. Not all providers support command timeout in connection string (e.g. sql server providers doesn't have such option for connection string). You should check connection string documenation for your provider/database, which you didn't specified. |
Beta Was this translation helpful? Give feedback.
-
@MaceWindu tanx if you can add property in T4 add CommandTimeout ,
|
Beta Was this translation helpful? Give feedback.
-
@MajidSafari - you can create your own constructor to do this, since the generated class is a partial class. Update your .tt file to add |
Beta Was this translation helpful? Give feedback.
-
Hi @viceroypenguin , Tanx i try ... but icant :( |
Beta Was this translation helpful? Give feedback.
-
What difficulties are you having in doing this? |
Beta Was this translation helpful? Give feedback.
Connection string used only by database provider. Not all providers support command timeout in connection string (e.g. sql server providers doesn't have such option for connection string).
You should check connection string documenation for your provider/database, which you didn't specified.