Hello
VS 2005
I have been looking at transactions to rollback if 1 of my insert or updates does not complete successfully.
Code example:
The above does not work too well with my code. I am wondering is there a better way to manage transactions.
Many thanks for any advice,
Steve
VS 2005
I have been looking at transactions to rollback if 1 of my insert or updates does not complete successfully.
Code example:
Code:
dim ts as new transactionScope()
'Insert a record into table A
'Insert a record into table B
'update table C
ts.Complete()
The above does not work too well with my code. I am wondering is there a better way to manage transactions.
Many thanks for any advice,
Steve