| Visual Basic (Declaration) | |
|---|---|
Public MustInherit Class Transaction | |
| Visual Basic (Usage) | |
|---|---|
| |
| C# | |
|---|---|
public abstract class Transaction | |
| Managed Extensions for C++ | |
|---|---|
public __gc abstract class Transaction | |
| C++/CLI | |
|---|---|
public ref class Transaction abstract | |
| C# | |
|---|---|
// Creates a new ObjectContext that uses an MsSql Server as storage. | |
This class provides a transaction object that is created by transactional storages. Those are storages that implement the ITransactionStorage interface.
Transaction inherits the IDisposable interface. That is done to automatically roll back a transaction if not committed.
The class provides methods to roll back or commit a transaction. It is recommended to use those methods instaead of the one provides by the ObjectContext to rollback or commit a transaction.
System.Object
Chili.Opf3.Storages.Transaction
Chili.Opf3.Storages.SqlTransactionBase
Requirements
Namespace: Chili.Opf3.Storages
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Chili.Opf3 (in Chili.Opf3.dll)