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