SelectTransformAddSelectExpression Method

Adds a ProviderElementExpression to the current instance used to generate a new output element.

Namespace:  Dundas.BI.Data.Transforms
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public ProviderElementExpression AddSelectExpression(
	string uniqueName,
	string description,
	bool isAggregated,
	string statement,
	DataType dataType
)

Parameters

uniqueName
Type: SystemString
The unique name of the generated element.
description
Type: SystemString
The description for the generated element.
isAggregated
Type: SystemBoolean
The flag must be set to if the expression has aggregators defined within. Its values is used to determine the correct placement of the expression in automatic SQL statement generation.
statement
Type: SystemString
The expression statement.
dataType
Type: Dundas.BI.Data.MetadataDataType
The data type of the expression result.

Return Value

Type: ProviderElementExpression
The select expression.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current instance does not support ProviderElementExpressions.
ArgumentExceptionuniqueName is or Empty or there is another input element with the same name.
See Also