T
tom.herz
Hi,
I've been tasked with the following:
We need to add elements to app.config and web.config to be able to
specify the CommandTimeout for SQL Commands. Since there is no option
in the connection string to set this property globally, this means
that every time we execute an SQL command we will need to set the
CommandTimeout property on the object.
It might be worth looking at implementing a ServiceRegistry to replace
the current multiple places where we allocate connections.
Any help on this issue would be greatly appreciated.
I've been tasked with the following:
We need to add elements to app.config and web.config to be able to
specify the CommandTimeout for SQL Commands. Since there is no option
in the connection string to set this property globally, this means
that every time we execute an SQL command we will need to set the
CommandTimeout property on the object.
It might be worth looking at implementing a ServiceRegistry to replace
the current multiple places where we allocate connections.
Any help on this issue would be greatly appreciated.