Sphinx QLTransaction Class
Represents a transaction. This class cannot be inherited.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public sealed class SphinxQLTransaction : DbTransactionVB
Public NotInheritable Class SphinxQLTransaction
Inherits DbTransaction- Inheritance
- Object MarshalByRefObject DbTransaction SphinxQLTransaction
Properties
| Connection | Specifies the DbConnection object associated with the transaction. (Inherited from DbTransaction) |
| IsolationLevel |
Specifies the IsolationLevel for this transaction. Not supported.
(Overrides DbTransactionIsolationLevel) |
| SupportsSavepoints | Gets a value that indicates whether this DbTransaction instance supports database savepoints.
If , the methods SaveAsync(String, CancellationToken), RollbackAsync(String, CancellationToken) and ReleaseAsync(String, CancellationToken) as well as their synchronous counterparts are expected to throw NotSupportedException. (Inherited from DbTransaction) |
Methods
| Commit |
Commits the transaction.
(Overrides DbTransactionCommit) |
| CommitAsync |
Asynchronously commits the transaction.
(Overrides DbTransactionCommitAsync(CancellationToken)) |
| Dispose | Releases the unmanaged resources used by the DbTransaction. (Inherited from DbTransaction) |
| DisposeAsync | Asynchronously disposes the transaction object. (Inherited from DbTransaction) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) |
| Release | Destroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends. (Inherited from DbTransaction) |
| ReleaseAsync | Destroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends. (Inherited from DbTransaction) |
| Rollback |
Rolls back a transaction from a pending state.
(Overrides DbTransactionRollback) |
| Rollback(String) | Rolls back all commands that were executed after the specified savepoint was established. (Inherited from DbTransaction) |
| RollbackAsync | Asyncronously rolls back a transaction from a pending state. |
| RollbackAsync(CancellationToken) |
Asyncronously rolls back a transaction from a pending state.
(Overrides DbTransactionRollbackAsync(CancellationToken)) |
| RollbackAsync(String, CancellationToken) | Rolls back all commands that were executed after the specified savepoint was established. (Inherited from DbTransaction) |
| Save | Creates a savepoint in the transaction. This allows all commands that are executed after the savepoint was established to be rolled back, restoring the transaction state to what it was at the time of the savepoint. (Inherited from DbTransaction) |
| SaveAsync | Creates a savepoint in the transaction. This allows all commands that are executed after the savepoint was established to be rolled back, restoring the transaction state to what it was at the time of the savepoint. (Inherited from DbTransaction) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Explicit Interface Implementations
| IDbTransactionConnection | Gets the DbConnection object associated with the transaction, or a null reference if the transaction is no longer valid. (Inherited from DbTransaction) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.