RelationshipAddRelationshipKey Method (RelationshipKey)

Adds a new relationship key to the current instance. The operation is allowed only if the relationship category is not Native. The category is subsequently changed automatically UserDefined.

Namespace:  Dundas.BI.Data.Relationships
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public void AddRelationshipKey(
	RelationshipKey key
)

Parameters

key
Type: Dundas.BI.Data.RelationshipsRelationshipKey
The key.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe operation is not allowed for native relationships.
ArgumentExceptionkey is invalid.
See Also