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 (24.4.0.1000)
Syntax
bool UpdateRelationships(
	IStructure dataStructure,
	IEnumerable<Relationship> relationships
)

Parameters

dataStructure
Type: Dundas.BI.Data.MetadataIStructure
The primary data structure.
relationships
Type: System.Collections.GenericIEnumerableRelationship
The relationship collection.

Return Value

Type: 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