IDataCubeServiceReplaceStructure Method (DataCube, Guid, NativeStructure, IDictionaryString, String)

Replaces the structure in given Select Transform with new native structure.

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

Parameters

dataCube
Type: Dundas.BI.Entities.DataCubesDataCube
The data cube.
selectTransformId
Type: SystemGuid
The select transform identifier.
newNativeStructure
Type: Dundas.BI.Entities.DataConnectorsNativeStructure
The new native structure.
elementsMap
Type: System.Collections.GenericIDictionaryString, String
The elements map. Provide map between unique native names of replaced element in source Select Transform and replacing element in target Native Structure.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataCube is or newNativeStructure is .
ArgumentExceptionselectTransformId value is Empty or elementsMap is or empty or elementsMap contains key or value that is or Empty.
NotFoundExceptionselectTransformId references a Transform which does not exist or element with native name taken from one of the values in elementsMap is not found in the new Select Transform or element with native name taken from one of the keys in elementsMap is not found in the existing Select Transform or element with native name taken from one of the keys in elementsMap does not have connected input element in the next connected transform.
InvalidOperationExceptionselectTransformId is not a SelectTransform or data type of one of the replacement columns is not compatible with the data type of the existing column.
See Also