Table of Contents

Class QuerySourceTable

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Defines the query source table (or view) with optional alias and hints.

public class QuerySourceTable
Inheritance
object
QuerySourceTable
Extension Methods

Constructors

QuerySourceTable(string, string, params string[])

Constructor

public QuerySourceTable(string sourceExpression, string sourceAlias = null, params string[] hints)

Parameters

sourceExpression string

Source expression

sourceAlias string

Source alias

hints string[]

Hints

Properties

Alias

Optional table alias

public string Alias { get; set; }

Property Value

string

Expression

Table name or expression

public string Expression { get; set; }

Property Value

string

Hints

Table hints

public string[] Hints { get; set; }

Property Value

string[]

Methods

GetFullExpression()

Gets the full query source table expression made from the configured components

public string GetFullExpression()

Returns

string

GetName()

Gets the source name, either alias or the expression

public string GetName()

Returns

string

Operators

implicit operator QuerySourceTable(string)

Implicit conversion from the given expression (as table name) to query source table

public static implicit operator QuerySourceTable(string sourceExpression)

Parameters

sourceExpression string

Source expression

Returns

QuerySourceTable