P
Peter Meinl
Our customer will use transactions against single SQL Server 2000, 2005 and
AS400 databases (no distributed transactions).
I am evaluating using TransactionScope vs. SqlTransaction.
Some internet posts say that with non SQL Server 2005 databases
TransactionScope will always use the slower distributed model using MSDTC.
To my understanding the online help only says non SQL Server 2005 databases
don't support Promotable Enlistments and not that they always use MSDTC.
My tests seem to show that using TransactionScope against SQL Server 2000
works without MSDTC (I stopped MSDTC and the test app still seems to work).
What is the truth?
Some say SQL Server 2000 will alway use IsolationLevel=Serializable.
I assume one can override this by exlicitely setting
TransactionOptions.Serializable=ReadCommitted.
Or am I missing something here?
AS400 databases (no distributed transactions).
I am evaluating using TransactionScope vs. SqlTransaction.
Some internet posts say that with non SQL Server 2005 databases
TransactionScope will always use the slower distributed model using MSDTC.
To my understanding the online help only says non SQL Server 2005 databases
don't support Promotable Enlistments and not that they always use MSDTC.
My tests seem to show that using TransactionScope against SQL Server 2000
works without MSDTC (I stopped MSDTC and the test app still seems to work).
What is the truth?
Some say SQL Server 2000 will alway use IsolationLevel=Serializable.
I assume one can override this by exlicitely setting
TransactionOptions.Serializable=ReadCommitted.
Or am I missing something here?