I realize that not all transaction support is done. We are using CommitableTransaction and in MS the Dispose() causes a Rollback if not yet Committed. In mono this throws a NotImplementedException. I understand there is more to do with Dispose when the rest of the transaction stuff comes online, but for now I need the same behavior for our app.
Jae
Index: Transaction.cs =================================================================== --- Transaction.cs (revision 82491) +++ Transaction.cs (working copy) @@ -109,7 +109,9 @@ [MonoTODO] public void Dispose () { - throw new NotImplementedException (); + //throw new NotImplementedException (); + if (TransactionInformation.Status == TransactionStatus.Active) + Rollback(); } [MonoTODO]
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list