Click or drag to resize
CalculationWorks Logo
BcfTransaction Methods

The BcfTransaction type exposes the following members.

Methods
  NameDescription
Protected methodAddItem
Adds the IBcfUndoRedoItem to the transactions compensation repository.
Protected methodAddItems
Adds the items to the transactions compensation repository.
Public methodBeginSubTransaction
Begins a sub transaction.
Public methodBeginSubTransaction(BcfTransactionBuilder)
Begins a sub transaction.
Public methodCommit
Commits all changes within this transaction.
Public methodCompute
Executes all necessary operations to bring the BcfCell.Values up to date. The validation tags will not be updated.
Public methodCompute(Boolean)
Executes all necessary operations to bring the BcfCell.Values up to date.
Public methodCreateSavePoint
Creates a BcfSavePoint.
Public methodEnforceKeyConstraints
Sets a value indicating whether key constraints will be enforced or not.
Public methodEnterDumbMode

Sets all computed cells and validations to 'must recompute' and disables the internal change tracking until next call of Compute (implicit by BeginSubTransaction or Commit) or Rollback. When DumbMode ends all computed cells and validations will be recomputed.

Very useful when loading data into an empty BcfDataSet.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnforceKeyConstraints
Gets a value indicating whether key constraints will be enforced or not.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCommit
Called when commit will be performed.
Protected methodOnCommitComplete
Called when commit was executed.
Protected methodOnDiscard
Called when the transaction goes out of scope and DataSet.Behavior.CleanupOptions.Cleanup is set to true.
Protected methodOnRollback
Called when a rollback will be performed.
Protected methodOnRollbackComplete
Called after rollback was executed.
Protected methodRedo
Infrastructure. This method supports the infrastructure and is not intended to be used directly from your code.
Public methodRollback
Discards the transaction and restores the data from state before the transaction started.
Public methodRollback(Exception)
Discards the transaction and restores the data from state before the transaction started.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUndo
Infrastructure. This method supports the infrastructure and is not intended to be used directly from your code.
Top
See Also