Click or drag to resize

BcfTransaction Methods

The BcfTransaction type exposes the following members.

Methods
  NameDescription
Public methodAcceptValuesAsResults
Causes the transaction to drop the list of computed cells needing re-calculation.
Protected methodCode exampleAdd
Adds the item to the transactions compensation repository.
Public methodBeginSubTransaction(BcfTransactionBuilder)
Creates and returns a sub transaction.
Public methodBeginSubTransaction(String, NullableBoolean)
Creates and returns a sub transaction.
Public methodCommit
Commits all changes made in this transaction.
Public methodCompute
Executes all necessary operations to bring the BcfCell.Values up to date.
Public methodComputePartial(BcfCell)
Executes all necessary operations to bring the BcfCell.Values of specified cells up to date.
Public methodComputePartial(IEnumerableBcfCell, IEnumerableBcfFaultId)
Executes all necessary operations to bring the BcfCell.Values of specified cells and BcfFaults of specified faults up to date.
Public methodCreateChangeSet
Creates a BcfChangeSet containing changes of this transaction (committed sub-transactions inclusive).
Public methodCurrentCompensationItems
Creates an array of current compensation items.
Public methodCode exampleEnterDumbMode

Sets all computed cells and faults to 'must recompute' and disables observing data until next call of Compute(Boolean) (implicit when main-transaction commits).

Call EnterDumbMode when load data into an empty BcfDataSet to speed up loading or if you want to force complete recalculation.

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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOutdatedCells Obsolete.
Gets an array of outdated (computed) cells. Result may contain cells of optimizer columns.
Public methodGetOutdatedFaultIds
Gets the faults identified as outdated by change tracking (IsOutdated). The RowState of cells may differ from Valid.
Public methodGetOutdatedFaults Obsolete.
Gets an array of outdated (computed) cells.
Public methodGetOutdatedOptimizerCells
Gets the cells identified as outdated by change tracking (IsOutdated). The result will ONLY contain cells of optimizer generated columns. The RowState of cells may differ from Valid.
Public methodGetOutdatedValueCells
Gets the cells identified as outdated by change tracking (IsOutdated). The result will NOT contain cells of optimizer generated columns. The RowState of cells may differ from Valid.
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 methodCode exampleOnBeforeCommitComplete
If using file-based undo here is the last chance for updates on Info before it is serialized.
Protected methodOnCommit
Protected methodCode exampleOnCommitComplete
Called when Commit executes. If using file-based undo the transaction is now persisted.
Protected methodCode exampleOnDiscard
Called when the transaction goes out of scope.
Protected methodCode exampleOnRollback
Called when a rollback will be performed.
Protected methodCode exampleOnRollbackComplete
Called after rollback was executed.
Public methodRollback
Discards the transaction and restores the data from state before the transaction started.
Public methodSetEnforceConstraints
Sets a value indicating whether constraints will be enforced or not.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also