Hi everyone, I have some code that runs but it appears to timeout because of the transactionscope surrounding it. Two questions.
1. Can i increase the timeout for that 1 dataportal call only?
2. My business logic is within the dataportal routine, where i retrieve objects, calculate some numbers etc and i add objects to the database. The whole process must complete, that is why i have the transactionscope tag on the dataportal_execute method. I dont really want the retrieves to be within the transaction, for performance reasons, so can i just put the save methods within a transaction?
e.g
Sub DataPortal_Execute()
' Do some retrieves and calculations here
' Create a tranaction
' DO SAVES HERE?
End Sub
Is this possible?