Defining SqlCommand.CommandTimeout from the config file
I need to set CommandTimeout property for a particular SqlCommand. The
premise is that, the main connection string and SqlConnection being used
cannot be changed. I like to make defining the timeout value configurable.
Wanted to know if its good and fair practice to define it in the
app.config (it's a desktop app)?
No comments:
Post a Comment