Added Command Timeout to each query that did not have a specified timeout
This commit is contained in:
@@ -325,6 +325,7 @@ namespace VEPROMS.CSLA.Library
|
||||
using (SqlCommand cm = cn.CreateCommand())
|
||||
{
|
||||
cm.CommandType = CommandType.StoredProcedure;
|
||||
cm.CommandTimeout = Database.SQLTimeout;
|
||||
cm.CommandText = "getSession";
|
||||
cm.Parameters.AddWithValue("@SessionID", criteria.SessionID);
|
||||
using (SafeDataReader dr = new SafeDataReader(cm.ExecuteReader()))
|
||||
|
Reference in New Issue
Block a user