IRelationshipServiceGetJoinRelationship(IStructure, IStructure, IEnumerableString, IEnumerableString) Method

Gets the relationship to be used for a join operation. If there are no relationships defined, it generates one.

Namespace: Dundas.BI.Data.Relationships
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
Relationship? GetJoinRelationship(
	IStructure firstStructure,
	IStructure secondStructure,
	IEnumerable<string>? firstStructureElements,
	IEnumerable<string>? secondStructureElements
)

Parameters

firstStructure  IStructure
The first structure.
secondStructure  IStructure
The second structure.
firstStructureElements  IEnumerableString
The selected elements from the first structure, to be used as relationship hints.
secondStructureElements  IEnumerableString
The selected elements from the second structure, to be used as relationship hints.

Return Value

Relationship
The relationship to be used in the join operation.
Exceptions
ExceptionCondition
ArgumentNullExceptionfirstStructure, secondStructure, firstStructureElements or secondStructureElements is .
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also