[Mono-dev] System.Transactions

Ankit Jain radical at gmail.com
Sun Aug 20 09:47:22 EDT 2006


This link should be helpful -

Implementing an Implicit Transaction using Transaction Scope
(http://msdn2.microsoft.com/en-us/library/ms172152.aspx)

Transaction.Current property (ambient transaction) refers to the
"current" transaction which can be used by DbCommand etc to find out
whether it is being used in a transaction.

-Ankit

On 8/20/06, latency <latency at gmx.de> wrote:
> Hi,
>
> this is not really a noteworthy comment but I'd like to say that you've
> forgotten a trailing "=" on your "Implementation Details" heading.
>
> As for the implementation of System.Transactions could please someone explain
> to me how they work. I understand the basic principle but what I don't
> understand is how a DbCommand or DbConnection knows when it is being used in
> a Transaction or not.
>
> In MS Documentation examples show how to use a TransactionScope by executing
> two querys but none of the querys seem to use the transaction, except from
> being used within the Transactions using-Block. Seems odd to me or is there
> some Magic going on behind the scenes?
>
> Kind Regards,
> Valentin.
>
> On Saturday 19 August 2006 19:24, Miguel de Icaza wrote:
> > Hello,
> >
> > > It is currently implemented with a LTM (Local Transaction Manager) in
> > > mono. (mcs/class/System.Transactions). You can check the class status
> > > at
> > >
> > > http://mono.ximian.com/class-status/mono-HEAD-vs-fx-2/class-status-System
> > >.Transactions.html
> > >
> > > DependentTransaction is not implemented yet, rest should work fine.
> >
> > I have updated the wiki with the documents I could my hands on from the
> > internal discussions:
> >
> >       http://www.mono-project.com/Transactions
> >
> > Miguel
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


-- 
Blog : http://ankitj.blogspot.com



More information about the Mono-devel-list mailing list