Is there a way for me to set the CommandTimeout property on the SqlCommand.
I can see that there is a DbResourceAllocator that has a NewCommand that creates the SqlCommand but there is now way that I can change the CommandTimeout property.
My workflow is quite large and I am save the Tracking information as well with the SharedConnectionWorkflowCommitWorkBatchService.
These are the service that I load:
string connectionString = ConfigurationManager.ConnectionStrings["DBConnectionWorkflowTracking"].ConnectionString;
SqlWorkflowPersistenceService persistenceService = new SqlWorkflowPersistenceService(connectionString);
persistenceService.EnableRetries = true;
SqlTrackingService sqlTrackingService = new SqlTrackingService(connectionString);
sqlTrackingService.PartitionOnCompletion = true;
sqlTrackingService.EnableRetries = true;
SharedConnectionWorkflowCommitWorkBatchService wb = new SharedConnectionWorkflowCommitWorkBatchService(connectionString);
wb.EnableRetries = true;
Can anyone help?
View Complete Post