PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public sealed class AmbientTransaction |
Visual Basic (Declaration) | Copy Code |
---|---|
Public NotInheritable Class AmbientTransaction |
The type exposes the following members.
Public Methods
Name | Description | |
---|---|---|
Commit |
Commits the pending transaction.
|
|
Dispose |
Disposes this AmbientTransaction. If the transaction is not committed, it will be rolled back.
|
|
Enlist |
Adds a database to take part in the ambient transaction.
|
|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
HasTransaction |
Returns true if there is a transaction for the database.
|
|
IsEnlisted |
Returns true if the database is enlisted in the transaction.
|
|
Rollback |
Rolls back the current transaction.
|
|
StartTransaction | Overloaded. | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
Current |
Gets the current AmbientTransaction for the current thread. Returns null if there is no AmbientTransaction.
|
|
IsolationLevel |
Gets the isolation level of the transaction.
|
|
State |
Gets the state of the transaction.
|
See Also
Smartsite.Data Namespace