IRelationshipServiceGetJoinRelationship Method (IStructure, IStructure, IEnumerableString, IEnumerableString)

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 (24.3.0.1000)
Syntax
Relationship GetJoinRelationship(
	IStructure firstStructure,
	IStructure secondStructure,
	IEnumerable<string> firstStructureElements,
	IEnumerable<string> secondStructureElements
)

Parameters

firstStructure
Type: Dundas.BI.Data.MetadataIStructure
The first structure.
secondStructure
Type: Dundas.BI.Data.MetadataIStructure
The second structure.
firstStructureElements
Type: System.Collections.GenericIEnumerableString
The selected elements from the first structure, to be used as relationship hints.
secondStructureElements
Type: System.Collections.GenericIEnumerableString
The selected elements from the second structure, to be used as relationship hints.

Return Value

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