Click or drag to resize

BcfRowSetParentRow Method (BcfRelation, BcfRow)

Sets the parent BcfRow of the specified parentRelation.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public BcfRow SetParentRow(
	BcfRelation parentRelation,
	BcfRow row
)

Parameters

parentRelation
Type: CalculationWorks.BusinessModelBcfRelation
The parent relation.
row
Type: CalculationWorks.BusinessModelBcfRow
The row which will be set as new parent row.

Return Value

Type: BcfRow
This row.
Exceptions
ExceptionCondition
ArgumentNullExceptionparentRelation is .
ArgumentException

The specified parentRelation does not belong to this table's parent relations.

or

Specified row must have row-state Valid.

InvalidOperationException

RowState is not Valid

or

BcfDataSet is Locked.

BcfUpdateExceptionSee BcfUpdateException.
See Also