Click or drag to resize

BcfRowAddChildRow Method (String, BcfRow)

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

Adds the specified row to the BcfChildRelationCell specified by childRelationName.

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

BCF

Supported in: 4.0
See Also