IRelationshipServiceUpdateRelationships Method

Updates the relationship definitions, and preserves all other stored definitions.

Namespace: Dundas.BI.Data.Relationships
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
bool UpdateRelationships(
	IStructure dataStructure,
	IEnumerable<Relationship> relationships
)

Parameters

dataStructure  IStructure
The primary data structure.
relationships  IEnumerableRelationship
The relationship collection.

Return Value

Boolean
if the operation was successful; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptiondataStructure or relationships is .
ArgumentExceptionrelationships is empty or contains relationships not defined for the specified dataStructure or dataStructure has never been saved.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also