FakeTransaction - класс

Definition

Пространство имён: Tessa.Platform.Data.Fake
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public sealed class FakeTransaction : DbTransaction
Inheritance
Object    MarshalByRefObject    DbTransaction    FakeTransaction

Свойства

ConnectionSpecifies the DbConnection object associated with the transaction.
(Унаследован от DbTransaction)
DbConnection
(Переопределяет DbTransactionDbConnection)
FakeConnection 
IsolationLevel
(Переопределяет DbTransactionIsolationLevel)
Parent 
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.
(Унаследован от DbTransaction)

Методы

Commit
(Переопределяет DbTransactionCommit)
CommitAsyncAsynchronously commits the database transaction.
(Унаследован от DbTransaction)
DisposeReleases the unmanaged resources used by the DbTransaction.
(Унаследован от DbTransaction)
Dispose(Boolean)Освобождает неуправляемые ресурсы, используемые объектом FakeTransaction, а при необходимости освобождает также управляемые ресурсы
(Переопределяет DbTransactionDispose(Boolean))
DisposeAsyncAsynchronously diposes the transaction object.
(Унаследован от DbTransaction)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
Устарело.
GetTypeGets the Type of the current instance.
(Унаследован от Object)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Унаследован от MarshalByRefObject)
Устарело.
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Унаследован от MarshalByRefObject)
ReleaseDestroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends.
(Унаследован от DbTransaction)
ReleaseAsyncDestroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends.
(Унаследован от DbTransaction)
Rollback
(Переопределяет DbTransactionRollback)
Rollback(String)Rolls back all commands that were executed after the specified savepoint was established.
(Унаследован от DbTransaction)
RollbackAsync(CancellationToken)Asynchronously rolls back a transaction from a pending state.
(Унаследован от DbTransaction)
RollbackAsync(String, CancellationToken)Rolls back all commands that were executed after the specified savepoint was established.
(Унаследован от 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.
(Унаследован от 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.
(Унаследован от DbTransaction)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также