Click or drag to resize
CalculationWorks Logo
BcfRowDelete Method
Deletes this row optimistic.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.2.1.2
Syntax
public void Delete()
Exceptions
ExceptionCondition
BcfRowDeleteExceptionCannot delete row. Operation failed due to a relation conflict. see inner exception BcfRelationConstraintException or BcfKeyCellUpdateException
InvalidOperationException

GetRowState is Created or UndoneAdded

or

dataset is Locked; e.g. BcfDataSet is just switching the CurrentTransaction or is undoing/redoing or calculating.

Remarks
The method is not called when row is deleted via delete cascade. If you want to perform cleanup tasks override OnDiscard
Version Information

CalculationWorks.BusinessModel

Supported in: 3.2, 3.0, 2.1, 2.0
See Also