 |
| BcfRowDelete Method (Boolean) |
Deletes this row.
Namespace: CalculationWorks.BusinessModelAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.2.1.2
Syntaxpublic virtual void Delete(
bool optimistic
)
Public Overridable Sub Delete (
optimistic As Boolean
)
public:
virtual void Delete(
bool optimistic
)
abstract Delete :
optimistic : bool -> unit
override Delete :
optimistic : bool -> unit Parameters
- optimistic
- Type: SystemBoolean
if set to true operation will be executed in CurrentTransaction and in case of error the transaction has to be discarded (Rollback). Otherwise operation will be executed in a subtransaction of CurrentTransaction in case of error the subtransaction will be discarded without affecting CurrentTransaction. For best performance set optimistic to true. Default is true.
Exceptions
Remarks
The method is not called when row is deleted via delete cascade. If you want to perform cleanup tasks override
OnDiscard
Version InformationCalculationWorks.BusinessModel
Supported in: 3.2, 3.0, 2.1, 2.0
See Also