|
BcfDataSetSetupAddRelation Method (String, BcfTableSetup, BcfTableSetup, BcfRelationRule, BcfRelationRule) |
Namespace: CalculationWorks.BusinessModel.DesignAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntax public BcfRelationSetup AddRelation(
string relationName,
BcfTableSetup parentTable,
BcfTableSetup childTable,
BcfRelationRule updateRule,
BcfRelationRule deleteRule
)
Public Function AddRelation (
relationName As String,
parentTable As BcfTableSetup,
childTable As BcfTableSetup,
updateRule As BcfRelationRule,
deleteRule As BcfRelationRule
) As BcfRelationSetup
public:
BcfRelationSetup^ AddRelation(
String^ relationName,
BcfTableSetup^ parentTable,
BcfTableSetup^ childTable,
BcfRelationRule updateRule,
BcfRelationRule deleteRule
)
member AddRelation :
relationName : string *
parentTable : BcfTableSetup *
childTable : BcfTableSetup *
updateRule : BcfRelationRule *
deleteRule : BcfRelationRule -> BcfRelationSetup
Parameters
- relationName
- Type: SystemString
Name of the relation. - parentTable
- Type: CalculationWorks.BusinessModel.DesignBcfTableSetup
The parent table. - childTable
- Type: CalculationWorks.BusinessModel.DesignBcfTableSetup
The child table. - updateRule
- Type: CalculationWorks.BusinessModelBcfRelationRule
The update action. - deleteRule
- Type: CalculationWorks.BusinessModelBcfRelationRule
The delete action.
Return Value
Type:
BcfRelationSetupBcfRelationSetup.
Exceptions Version Information CalculationWorks.BusinessModel
Supported in: 3.0, 2.1, 2.0
See Also