Click or drag to resize

BcfViewManager Class

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

Represents a WPF bindable BcfDataSet-wrapper.
Inheritance Hierarchy
SystemObject
  CalculationWorks.ViewModel.WindowsBcfViewManager

Namespace:  CalculationWorks.ViewModel.Windows
Assembly:  CalculationWorks.ViewModel.Windows (in CalculationWorks.ViewModel.Windows.dll) Version: 4.0.0-beta7
Syntax
public class BcfViewManager : IDisposable

The BcfViewManager type exposes the following members.

Constructors
  NameDescription
Protected methodBcfViewManager
Initializes a new instance of the BcfViewManager class.
Top
Properties
  NameDescription
Public propertyDataSet
Gets the BcfDataSet.
Public propertyDefaultViews
Gets the default views.
Public propertyDeferPropertyChanged
Gets a value indicating whether ItemChanged or PropertyChanged should be deferred.
Public propertyIsDisposed
Gets a value indicating whether this instance is disposed.
Public propertyOutOfSync
Gets a value indicating whether viewmanagers shows a snapshot of an uncommitted BcfDataSet content.
Public propertyRepository
Gets the data-repository.
Public propertyUpdateProgress
Gets a value indicating whether currently processing dataset changes.
Top
Methods
  NameDescription
Public methodCreateEmptyView
Creates and returns an empty view (With Sources empty).
Public methodCreateView(BcfTable, PredicateBcfRowView)
Creates and returns a new view for specified table.
Public methodCreateViewT(BcfTableViewBaseT, PredicateBcfRowView)
Creates and returns a new view using rowViews of specified rowViewSource.
Protected methodDeleteRow
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
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 methodOnDataBindingError
Raises the DataBindingError-event.
Protected methodOnDisposed
Raises the Disposed event.
Protected methodOnSuppressingRecurrentUpdate
Raises the SuppressingRecurrentUpdate event.
Protected methodOnUpdateProgressChanged
Raises the -event.
Public methodReloadData
Discards all non virtual BcfRowViews and reloads all data from BcfDataSet.
Protected methodSetParentRow
Normal (non-virtual) BcfRowView.SetParentRowView(BcfRelation, BcfRowView) is redirected to this virtual method.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUpdateCell
Normal (non-virtual) BcfRowView.SetValue(BcfColumn, Object) is redirected to this virtual method.
Top
Events
  NameDescription
Public eventDataBindingError
This event is raised when a binding-error occurs.
Public eventDisposed
Represents the method that handles the Disposed event.
Public eventSuppressingRecurrentUpdate
Occurs when an recurrent data change occurs.
Public eventUpdateProgressChanged
Raised when UpdateProgress changed.
Top
Remarks
The view-manager is not only a simple wrapper. It provides bindable, sortable and filterable lists (see BcfTableViewBaseTRowView) of row-value-snapshots (see BcfRowView). All values and lists remain unchanged between the DataChanged-events. So BcfDataSet-transaction-processing does not affect the values until the root-transaction is committed.
See Also