Click or drag to resize

BcfDataSetCurrentDataStateId Property

Gets an identifier representing the current data state.

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

Property Value

Type: Guid
Remarks

Default value is Guid.Empty.

When a main-transaction (IsSubTransaction is ) commits and any of its items returns 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 if CurrentDataStateId not equals AcceptedDataStateId.

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