Click or drag to resize

BcfRowSetParentRow Method (String, BcfRow)

Sets the parent BcfRow of the relation specified by parentRelationName.

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

Parameters

parentRelationName
Type: SystemString
Name of 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
ArgumentNullExceptionparentRelationName is .
ArgumentException

The relation specified by parentRelationName cannot be found in table's parent relations

or

specified row must have row-stateValid

or

the specified row is not in parent table.

InvalidOperationExceptionOperation requires row-state Valid.
BcfUpdateExceptionSee BcfUpdateException.
See Also