Quick question about the TransactionScope object. Found this on the internet:
When you access your first durable resource manager, a lightweight
committable transaction is created to support the single transaction.
When you access a second durable resource manager, the transaction is
promoted to a distributed transaction.
That seems fine, but I didnt understand what exactly is a “durable resource”. I know that TransactionScope only works with SQL Server 2005 and above so if I need to access SQL server 200, it wont be possible? How about a text file on the disk? I’ve always heard that you cant have transaction control when it involves disk access. Maybe is it different with this object?
Thanks!
This link discusses the differences between durable and volatile resource managers.
Just to clarify – TransactionScopes will work with earlier versions of SQL, however, the lightweight transaction manager only works for 2005+. DTC will be required for transactions to SQL 2000.
There is also support for transactional file systems (Vista and later) – have a look here.