Hi all,
.NET's TransactionScope suppports "voting" basically if there are nested Transactionscopes all have to be true before the transaction is comitted.
Does LLBLGen's Adapter.StartTransaction support something similar?
For example:
Public Sub DeleteEntity()
CreateAdapter
Adapter.Starttransaction
DeleteEntityA()
DeleteEntityB()
Adapter.Committ
End Sub
Public Sub DeleteEntityA()
'CreateAdapter
'StartTransaction
'Do Stuff
'Commit
End Sub
Public Sub DeleteEntityB()
'CreateAdapter
'StartTransaction
'Do Stuff
'Commit
End Sub
Will both functions be committed only if A & B are successful?
I'm using LLBLGen 2.5, April 23rd release with SQL Server 2000.
Thanks.