4 月
9
2005

[轉載] Introducing System.Transactions

剛剛在TheServerSide.NET看到這篇消息,

覺得還不錯,因此把它轉載過來

System.Transactions is a new namespace introduced in the .NET Framework 2.0 that addresses transaction management. In his whitepaper entitled, “Introducing System.Transactions”, Juval Lowy provides a detailed account of this namespace.

“Introducing System.Transactions” is a whitepaper that highlights the features and capabilities of the transactional programming model introduced in the .NET Framework 2.0. In the first part of his whitepaper, Juval provides the motivation behind this new model, highlighting some of the issues developers face when targeting technologies like ADO.NET in the .NET Framework 1.x. He then goes on to describe the two new transaction managers that are introduced in the .NET Framework 2.0: the Lightweight Transaction Manager (LTM) and the OleTx Transaction Manager.

In the second part of his whitepaper, Juval provides a description on some of the classes available in System.Transactions. Specifically, he describes how the TransactionScope class can be used to define explicit transactional code blocks, and how transactions are distributed and promoted.

The last part of “Introducing System.Transactions” covers advanced topics such as events, Code Access Security, concurrency management and cloning, and interoperability.

This whitepaper provides a detailed guide to System.Transactions and is a must read for developers who wish to understand this programming model. It may be downloaded from the Microsoft Download Center here.

Juval Lowy is founder and Chief Architect of IDesign, a .NET architecture consulting and training company based in San Jose, CA.

Comments are closed.