Click or drag to resize

BcfDataSet Methods

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

The BcfDataSet type exposes the following members.

Methods
  NameDescription
Public methodAcceptChanges
Sets the AcceptedDataStateId to CurrentDataStateId this causes HasChanges to return false.
Public methodBeginTransaction(BcfTransactionBuilder)
Creates a BcfTransaction and sets it as the CurrentTransaction. If CurrentTransaction is not null when calling BeginTransaction(BcfTransactionBuilder) a subtransaction of CurrentTransaction will be created.
Public methodBeginTransaction(String, NullableBoolean)
Creates a transaction and sets it as the CurrentTransaction. If CurrentTransaction is not null before calling BeginTransaction a subtransaction of the CurrentTransaction will be created.
Public methodCanRedo
Determines whether Redo(Int32) can be executed.
Public methodCanUndo
Determines whether Undo(Int32) can be executed.
Public methodCreateTempDataSet
Creates an empty dataset with a compatible schema but without functions and rules.
Public methodDiff
Evalueates the difference between this an specified otherDataSet.
Public methodDisableUndo
Disables undo (collecting data for Undo(Int32) and Redo(Int32)) and clears the UndoRepository.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEnableFileUndo
Enables collecting data-changes (collecting data for Undo(Int32) and Redo(Int32)) in streams.
Public methodEnableFileUndoSession
Enables collecting data-changes (collecting data for Undo(Int32) and Redo(Int32)) in streams including initial data state.
Public methodEnableMemoryUndo
Enables collecting data-changes (collecting data for Undo(Int32) and Redo(Int32)) in memory.
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.)
Public methodLoad(BcfDataSet, FuncBcfColumn, Boolean, BcfRowMergeOption, Boolean, BcfRowComparisonMode)
Loads rows of specified dataSet and returns the row-map.
Public methodLoad(IEnumerableBcfRow, FuncBcfColumn, Boolean, BcfRowMergeOption, Boolean, BcfRowComparisonMode)
Loads rows of specified distinctSourceRows and returns the row-map.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnBeginCompute
Called when calculations begins after the calculation-plan is initialized (see CurrentCalculationPlan).
Protected methodOnBeginRedo
Called when Redo(Int32) begins.
Protected methodOnBeginUndo
Called when Undo(Int32) begins.
Protected methodOnDataChanged
Raises the DataChanged-event.
Protected methodOnDisposed
Raises the Disposed event.
Public methodOnEndCompute
Called when calculations ends just before the calculation-plan is cleared (see CurrentCalculationPlan).
Protected methodOnEndRedo
Called when Redo(Int32) ends.
Protected methodOnEndUndo
Called when Undo(Int32) ends.
Public methodRedo
Redoes the last transactionCount undone transactions and returns the effective number of redone transactions.
Public methodReset
Deletes all rows of all tables non transactional, clears UndoRepository and resets the row-id generators and column sequences.
Public methodRestoreUndoRepository
Restores a file-based undo repository and initial dataset state (data when called EnableFileUndoSession(Stream, Stream, Byte)), enables undo and returns the last known transaction index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndo
Undoes the last transactionCount transactions and returns the effective number of undone transactions.
Top
See Also