IRelationshipServiceUpdateRelationship(Guid, String, String, Guid, Guid, IEnumerableRelationshipKey, JoinOperation) Method

Updates the relationship definition, irrespective of the check in status of the primary structure.

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 UpdateRelationship(
	Guid relationshipId,
	string? name,
	string? description,
	Guid structureId,
	Guid referencedStructureId,
	IEnumerable<RelationshipKey> keys,
	JoinOperation joinOperation
)

Parameters

relationshipId  Guid
The relationship ID.
name  String
The name.
description  String
The description.
structureId  Guid
The primary structure ID.
referencedStructureId  Guid
The referenced structure ID.
keys  IEnumerableRelationshipKey
The relationship keys.
joinOperation  JoinOperation
The join operation for this relationship.

Return Value

Boolean
if the operation was successful; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionkeys is .
ArgumentExceptionstructureId or referencedStructureId is Empty or keys is empty.
NotFoundExceptionstructureId does not exist.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also