Поделиться через


CLR Integration and Transactions

The System.Transactions namespace is new in the Microsoft .NET Framework version 2.0. It provides a new transaction framework that is fully integrated with ADO.NET and SQL Server common language runtime (CLR) integration. System.Transactions and ADO.NET work together to extend and simplify the use of local and distributed transactions in managed applications.

For more information about transactions and the .NET Framework, see "Performing Transactions" and "Leveraging Transactions" in the .NET Framework SDK.

For more information about transactions in SQL Server, see Транзакции (компонент Database Engine).

Topic Description

Transaction Promotion

Describes the ability to promote transactions, and how to use this feature.

Accessing the Current Transaction

Describes how to access a transaction currently running in-process on SQL Server.

Using System.Transactions

Describes how to use the System.Transactions application programming interface (API) in your managed application.

Transaction Lifetimes

Describes the difference in lifetime between transactions started in Transact-SQL stored procedures and transactions started in CLR applications.

См. также

Основные понятия

Data Access from CLR Database Objects

Справка и поддержка

Получение помощи по SQL Server 2005