Open this page in the API Guide

IDataCubeService.AddSelectTransform Method

Adds a new select transform to the process definition and saves the data cube. The input generates a SelectTransform transform, compatible with the type of the structure referenced by structureId.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
SelectTransform AddSelectTransform(
	DataCube dataCube,
	Guid structureId,
	bool isExpressionBased
)

Parameters

dataCube
Type: Dundas.BI.Entities.DataCubes.DataCube
The data cube.
structureId
Type: System.Guid
The ID of the structure.
isExpressionBased
Type: System.Boolean
Set the flag to true if the select transform is expression based.

Return Value

Type: SelectTransform
The select transform.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is null.
ArgumentExceptionstructureId references a structure that is not compatible with one of the supported SelectTransform transforms.
NoPrivilegeExceptionCaller does not have access to the specified data connector.
InvalidSessionExceptionThe caller context is not associated with a valid session.
DataProviderLoadExceptionThe data provider may throw this exception if it requires third party driver to be installed.
DataConnectionExceptionThe connection cannot be established.
NotFoundExceptionThe structures with the specified structureId does not exist.
InvalidOperationExceptiondataCube is not checked out to the caller.
See Also