CalculationWorks Logo
BcfDataSetSetupAddRelation Method (String, BcfTableSetup, BcfTableSetup)CalculationWorks BCF Library 1.1 for .NET Framework 4.5

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

Adds a new relation to the Relations collection and returns the new associated BcfRelationSetup

Namespace: CalculationWorks.BusinessModel.Design
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax

public BcfRelationSetup AddRelation(
	string relationName,
	BcfTableSetup parentTable,
	BcfTableSetup childTable
)

Parameters

relationName
Type: SystemString
Name of the relation.
parentTable
Type: CalculationWorks.BusinessModel.DesignBcfTableSetup
The parent table.
childTable
Type: CalculationWorks.BusinessModel.DesignBcfTableSetup
The child table.

Return Value

Type: BcfRelationSetup
BcfRelationSetup.
See Also

Reference