Click or drag to resize

BcfRowAddChildRow Method (String, BcfRow)

Adds the specified row to the BcfChildRelationCell specified by childRelationName.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public void AddChildRow(
	string childRelationName,
	BcfRow row
)

Parameters

childRelationName
Type: SystemString
Name of the child relation.
row
Type: CalculationWorks.BusinessModelBcfRow
The row to add.
Exceptions
ExceptionCondition
ArgumentNullExceptionchildRelationName or row is .
ArgumentException

The relation specified by childRelationName cannot be found in table's child relations

or

specified row must have row-stateValid

or

the specified row is not in child table.

InvalidOperationException

Operation requires row-state Valid.

or

DataSet is Locked.

BcfUpdateExceptionSee BcfUpdateException.
Remarks
If row is already child, nothing will change and no exception will be thrown.
See Also