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.0.2.0
Syntax
public void Delete()
Exceptions
ExceptionCondition
BcfRowDeleteExceptioncannot delete row. + ex.Message
InvalidOperationExceptionGetRowState is Created or UndoneAdded
InvalidOperationException

dataset is locked; e.g. BcfDataSet is just switching the current transaction or is undoing/redoing.

do not call this method e.g. from inside BcfFunctionBase, BcfValidatorBase nor IBcfUndoRedoItem

operation failed due to a relation conflict. see inner exception BcfRelationConstraintException or BcfKeyCellUpdateException
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.0, 2.1, 2.0
See Also