|
BcfRelatedRowCellSetRelatedRow Method (BcfRow, Boolean) |
Sets the related (parent) row.
Namespace: CalculationWorks.BusinessModelAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntax public void SetRelatedRow(
BcfRow value,
bool optimistic
)
Public Sub SetRelatedRow (
value As BcfRow,
optimistic As Boolean
)
public:
void SetRelatedRow(
BcfRow^ value,
bool optimistic
)
member SetRelatedRow :
value : BcfRow *
optimistic : bool -> unit
Parameters
- value
- Type: CalculationWorks.BusinessModelBcfRow
The value. - 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 related row must be a valid row in the
Relations parent table.
Version Information CalculationWorks.BusinessModel
Supported in: 3.0, 2.1, 2.0
See Also