SphinxQLTransaction Class

Represents a transaction. This class cannot be inherited.

Definition

Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public sealed class SphinxQLTransaction : DbTransaction
Inheritance
Object    MarshalByRefObject    DbTransaction    SphinxQLTransaction

Properties

ConnectionSpecifies the DbConnection object associated with the transaction.
(Inherited from DbTransaction)
IsolationLevel Specifies the IsolationLevel for this transaction. Not supported.
(Overrides DbTransactionIsolationLevel)
SupportsSavepointsGets 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))
DisposeReleases the unmanaged resources used by the DbTransaction.
(Inherited from DbTransaction)
DisposeAsyncAsynchronously disposes the transaction object.
(Inherited from DbTransaction)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
ReleaseDestroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends.
(Inherited from DbTransaction)
ReleaseAsyncDestroys 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)
SaveCreates 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)
SaveAsyncCreates 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)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Explicit Interface Implementations

IDbTransactionConnectionGets 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.

See Also