Click or drag to resize

IDivisibleTransactionContext Interface

Provides the possibility to make database updates durable before the transaction is committed or rolled back.

Namespace:  PDTec.IceNet.Core.Database
Assembly:  PDTec.IceNet.Core (in PDTec.IceNet.Core.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public interface IDivisibleTransactionContext : ITransactionContext, 
	IDisposable

The IDivisibleTransactionContext type exposes the following members.

Methods
  NameDescription
Public methodCommit
Sucessfully complete the transaction.
(Inherited from ITransactionContext.)
Public methodCommitAndContinue
Commits the part of the transaction that has been performed up to now and continues with the current logical transaction. Depending on the database implementation a new technical transaction context object might be created.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodRegisterPostCommitAction
Registers a post commit action. The action is executed by the platform after the transaction has been successfully completed (commit). The action itself is not part of the transaction.
(Inherited from ITransactionContext.)
Public methodRegisterPreCommitAction
Registers a pre commit action. The action is executed by the platform before the transaction is completed (commit). The action itself is part of the transaction.
(Inherited from ITransactionContext.)
Public methodRollback
Rollback the database updates performed within the transaction scope.
(Inherited from ITransactionContext.)
Top
Remarks
Using the CommitAndContinue method violates the atomicity of the transaction context by making the previous transaction part persistent before the final Commit or Rollback controls the durability of the transaction.
See Also