Click or drag to resize

BcfTransaction Methods

[This is preliminary documentation and is subject to change.]

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