SelectTransformAddSelectExpression Method |
Namespace:
Dundas.BI.Data.Transforms
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxpublic ProviderElementExpression AddSelectExpression(
string uniqueName,
string description,
bool isAggregated,
string statement,
DataType dataType
)
Public Function AddSelectExpression (
uniqueName As String,
description As String,
isAggregated As Boolean,
statement As String,
dataType As DataType
) As ProviderElementExpression
public:
ProviderElementExpression^ AddSelectExpression(
String^ uniqueName,
String^ description,
bool isAggregated,
String^ statement,
DataType dataType
)
member AddSelectExpression :
uniqueName : string *
description : string *
isAggregated : bool *
statement : string *
dataType : DataType -> ProviderElementExpression
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:
ProviderElementExpressionThe select expression.
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | The current instance does not support ProviderElementExpressions. |
| ArgumentException | uniqueName is or Empty or there is another input element with the same name. |
See Also