Does ITransaction support nesting transactions, or maybe it's called managed transactions. I mean where only the outermost transaction commits if all the inner ones have flagged commit.
I thought it would, but trying this:
Code:
ITransaction tx1, tx2;
tx1 = s.BeginTransaction();
tx2 = s.BeginTransaction();
s.Save(new Whatever());
tx2.Commit();
tx1.Rollback();
tx2 will commit the save and tx1.Rollback throw a DisposedException. I'm on .net1.1 and have made no special configurations on the ado side.
I've actually tried for a couple of hours now to find any info on this but with no definitive success.