Click or drag to resize

BcfRowSetParentRow Method (String, BcfRow)

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

Sets the parent BcfRow of the relation specified by parentRelationName.

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

BCF

Supported in: 4.0
See Also