Click or drag to resize

BcfRowSetParentRow Method (BcfRelation, BcfRow)

[This is preliminary documentation and is subject to change.]

Sets the parent BcfRow of the specified parentRelation.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta6
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 null.
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.
Version Information

BCF

Supported in: 4.0
See Also