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