Open this page in the API Guide

IDataCubeService.ReplaceElementNames Method

Replaces element native names in given Select Transform.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void ReplaceElementNames(
	DataCube dataCube,
	Guid selectTransformId,
	IDictionary<string, string> elementsMap
)

Parameters

dataCube
Type: Dundas.BI.Entities.DataCubes.DataCube
The data cube.
selectTransformId
Type: System.Guid
The select transform identifier.
elementsMap
Type: System.Collections.Generic.IDictionary<String, String>
The elements map. Provide map between source and target unique native names for elements in Select Transform.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is null.
ArgumentExceptionselectTransformId value is Empty or elementsMap is null or empty or elementsMap contains key or value that is null or Empty.
NotFoundExceptionselectTransformId references a Transform which does not exist or element with native name taken from one of the keys in elementsMap is not found in the Select Transform.
InvalidOperationExceptionselectTransformId is not a SelectTransform or data type of the replacing column is not compatible with the data type of the replaced column.
See Also