IRaggedHierarchyServiceGenerateHierarchy Method (Guid, Guid, PersistencePolicy)

Generates the hierarchy based on a single entity.

Namespace:  Dundas.BI.Entities.UserHierarchies
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
RaggedHierarchy GenerateHierarchy(
	Guid parentId,
	Guid entityId,
	PersistencePolicy persistencePolicy
)

Parameters

parentId
Type: SystemGuid
The ID of the parent file or folder.
entityId
Type: SystemGuid
ID of the data source entity.
persistencePolicy
Type: Dundas.BI.EntitiesPersistencePolicy
A value indicating whether the entity should be created as persistent or transient.

Return Value

Type: RaggedHierarchy
The generated hierarchy.
Exceptions
ExceptionCondition
ArgumentExceptionparentId or entityId was Empty.
NotSupportedExceptionThe data structure with the specified ID cannot be used as a data source for the user hierarchy.
NotFoundExceptionThe data structure with the specified ID doesn't exist or cannot be discovered.
DataProviderLoadExceptionThe data provider may throw this exception if it requires third party driver to be installed.
DataConnectionExceptionThe connection cannot be established.
QuotaExceededExceptionGenerating the hierarchy would cause the entity quota for hierarchies or one of the underlying entity types to be exceeded.
NoPrivilegeException

The Caller does not have access to the specified entity.

-or-

The caller does not have access to save in the specified location.

InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
The table is analyzed based on relationships with other tables and column cardinality and correlations.
See Also