Re[7]: проблема с TransactionScope
От: GlebZ Россия  
Дата: 03.04.06 17:20
Оценка:
Здравствуйте, voloha, Вы писали:

V>св-во Transaction.Current равно null

V>когда вхожу в TransactionScope тоже null
V>только после connection.Open() там чтото появляется
V>и здесь Службы компонентов/Компьютеры/Мой компьютер/координатор растределенных транзакций/Список транзакций
V>тоже появляется. почему я ее здесь вижу если она не распределенная еще?

If the first connection in the transaction scope is a SQL Server 2005 database, then the transaction is lightweight but can be delegated for promotion. When the subsequent database connections are opened, the transaction is promoted to a distributed transaction. However, if the first connection is opened against a SQL Server 2000 or Oracle database, note that the transaction won't be promoted because the resource managers for those databases do not support delegated transactions at this time. Therefore when the first connection's database does not support the delegated promotion of transactions, the transaction is created as a full, distributed transaction instead.

здесь

Сам удивлен. Запускаюсь только с MSSQL 2005, посему и не заметил.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.