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