SqlHelperAddColumnAlias Method |
Adds the column alias to the given expression
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntaxpublic static string AddColumnAlias(
string expression,
string alias,
bool ensureBrackets = true
)
Parameters
- expression
- Type: SystemString
Expression - alias
- Type: SystemString
Alias - ensureBrackets (Optional)
- Type: SystemBoolean
If true, the expression is encapsulated in brackets in case it is a complex expression
Return Value
Type:
String
See Also