Transaction now has limited support for PromotableSinglePhaseEnlistment
authorShay Rojansky <roji@eaglets.co.il>
Tue, 23 Oct 2012 00:17:41 +0000 (02:17 +0200)
committerShay Rojansky <roji@eaglets.co.il>
Wed, 24 Oct 2012 17:03:26 +0000 (19:03 +0200)
commitcde70df1cb5671e1b028ed45583c5bf4e5876d11
treec8020d71e5138fbb85486467120921af47f690f2
parentc3a0383c5c9e957404a3b81675540459d4a7d370
Transaction now has limited support for PromotableSinglePhaseEnlistment

System.Transactions.Transaction is only partially implemented, and was lacking support for enlistments of type PromotableSinglePhaseEnlistment.
Specifically, this prevented usage of Npgsql with the ambient transactions feature (TransactionScope).
mcs/class/System.Transactions/System.Transactions/SinglePhaseEnlistment.cs
mcs/class/System.Transactions/System.Transactions/Transaction.cs
mcs/class/System.Transactions/Test/EnlistTest.cs
mcs/class/System.Transactions/Test/IntResourceManager.cs