BcfTransaction Methods |
[This is preliminary documentation and is subject to change.]
The BcfTransaction type exposes the following members.
| Name | Description | |
|---|---|---|
| AcceptValuesAsResults |
Causes the transaction to drop the list of computed cells needing re-calculation.
| |
| Add |
Adds the item to the transactions compensation repository.
| |
| BeginSubTransaction(BcfTransactionBuilder) |
Creates and returns a sub transaction.
| |
| BeginSubTransaction(String, NullableBoolean) |
Creates and returns a sub transaction.
| |
| Commit |
Commits all changes made in this transaction.
| |
| Compute | ||
| CreateChangeSet |
Creates a BcfChangeSet containing changes of this transaction (committed sub-transactions inclusive).
| |
| CurrentCompensationItems |
Creates an array of current compensation items.
| |
| EnterDumbMode | 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. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnBeforeCommitComplete |
If using file-based undo here is the last chance for updates on Info before it is serialized.
| |
| OnCommit |
Called when Commit.
| |
| OnCommitComplete |
Called when Commit executes. If using file-based undo the transaction is now persisted.
| |
| OnDiscard |
Called when the transaction goes out of scope.
| |
| OnRollback |
Called when a rollback will be performed.
| |
| OnRollbackComplete |
Called after rollback was executed.
| |
| Rollback |
Discards the transaction and restores the data from state before the transaction started.
| |
| SetEnforceConstraints |
Sets a value indicating whether constraints will be enforced or not.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |