Click or drag to resize
SqlHelperAddColumnAlias Method
Adds the column alias to the given expression

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public 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