I have a TransactionScope that houses another TransactionScope which makes an insert, then i commit the inner TransactionScope. Before i commit the outer TransactionScope, i want to be able to retrieve the data of my insert from the database. Is it possible to do that?
Visual Aid:
TransactionScope #1
TransactionScope #2
//Insert
TransactionScope #2 -- Committed
//Can i retrieve the values of my insert from the database from here?
TransactionScope #1 -- Committed
Yes, you can do that as long as you’re doing it from within the same transaction.