Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
More Transaction Problems
Im still have a load of throuble with transactions.
I have a Main BO (oRemit) nd several other BO's that are
children of oRemit ( oImage,oDLNLookup,oReturnDetal )
I keep getting an Application Execption message (This SQLTransaction has completed; it is no longer usable) I've tried several methods for doing the save.
1.
on oRemit (parent)
I set AutoUseTransactions = false
and start the transaction on it first with TransactionBegin
and then do the SaveDataset on oRemit and
and the child BO's one at a time.
In this case it gets through one of the child BO's and then I get the same message when it gets to the next BO
2. I set AutoUseTransactions = true and set the AutoSaveOnParentSaved = true for
all the child BO's and call savedataset on the parent oRemit
I get the same error message
anyone got any idea what would cause this?
Thanks
Brian Grant
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement