Open this page in the API Guide

DataCube.SetupHierarchy Method (ConnectorElement, RaggedHierarchy, IEnumerable<ConnectorElement>)

Setups a RaggedHierarchy object by linking an existing relational hierarchy to the specified ConnectorElement.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public IHierarchy SetupHierarchy(
	ConnectorElement connectorElement,
	RaggedHierarchy hierarchy,
	IEnumerable<ConnectorElement> linkElements
)

Parameters

connectorElement
Type: Dundas.BI.Data.Transforms.ConnectorElement
The connector element to be used to generate the data cube hierarchy information.
hierarchy
Type: Dundas.BI.Entities.UserHierarchies.RaggedHierarchy
The ragged hierarchy.
linkElements
Type: System.Collections.Generic.IEnumerable<ConnectorElement>
The connector elements to be used for defining a composite relationship.

Return Value

Type: IHierarchy
The linked hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionconnectorElement or hierarchy is null.
NotSupportedExceptionThe specified hierarchy cannot be used in this data cube.
ArgumentExceptionconnectorElement does not belong the output element collection or linkElements is null or empty.
See Also