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 (9.0.0.1000)
SyntaxRaggedHierarchy GenerateHierarchy(
Guid parentId,
Guid entityId,
PersistencePolicy persistencePolicy
)
Function GenerateHierarchy (
parentId As Guid,
entityId As Guid,
persistencePolicy As PersistencePolicy
) As RaggedHierarchy
RaggedHierarchy^ GenerateHierarchy(
Guid parentId,
Guid entityId,
PersistencePolicy persistencePolicy
)
abstract GenerateHierarchy :
parentId : Guid *
entityId : Guid *
persistencePolicy : PersistencePolicy -> RaggedHierarchy
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:
RaggedHierarchyThe generated hierarchy.
Exceptions| Exception | Condition |
|---|
| ArgumentException | parentId or entityId was Empty. |
| NotSupportedException | The data structure with the specified ID cannot be used as a data source for the user hierarchy. |
| NotFoundException | The data structure with the specified ID doesn't exist or cannot be discovered. |
| InvalidSessionException | The caller context is not associated with a valid session. |
| NoPrivilegeException | Caller does not have access to the specified entity. |
| DataProviderLoadException | The data provider may throw this exception if it requires third party driver to be installed. |
| DataConnectionException | The connection cannot be established. |
| NoPrivilegeException | The caller does not have access to save in the specified location. |
Remarks
The table is analyzed based on relationships with other tables and column
cardinality and correlations.
See Also