Y
yacrumb
Hello all,
I got seven sp's that uses transactions:
BEGIN TRAN
....
ROLLBACK TRAN
....
COMMIT
....
tran.Commit()
....
tran.Rollback()
Q: will a commit in sp's be rollbacked by ado.net's rollback? i.e. do
ado.net and mssql use the same transactions-counter?
I got seven sp's that uses transactions:
BEGIN TRAN
....
ROLLBACK TRAN
....
COMMIT
SqlTransaction tran = conn.BeginTransaction()From ado.net I need to execute all of these using transaction:
....
tran.Commit()
....
tran.Rollback()
Q: will a commit in sp's be rollbacked by ado.net's rollback? i.e. do
ado.net and mssql use the same transactions-counter?