Click or drag to resize

BcfDataSetCurrentDataStateId Property

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

Gets an identifier representing the current data state.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public Guid CurrentDataStateId { get; }

Property Value

Type: Guid
Remarks

Default value is Guid.Empty.

When a main-transaction (IsSubTransaction is false) commits and any of its items returns true on IsDataUpdate(BcfDataSet) a new identifier will be set. Cell-update items returns BcfColumn.ShouldPersist, row-add and row-delete items BcfTable.ShouldPersist.

HasChanges returns true if CurrentDataStateId not equals AcceptedDataStateId.

Note Note
CurrentDataStateId-renewal can be disabled by setting ManageStateId = false.
See Also