Table of Contents

Class SelectAlias

Namespace
TimeCockpit.Data.QueryLanguage.Syntax
Assembly
TimeCockpit.Data.dll

AST Node defining a select clause for selecting a simple alias. e.g. In

From X In Timesheet Select X
, the node refers to "Select X".
public class SelectAlias : Select
Inheritance
Object
SelectAlias
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

SelectAlias(String, Int32)

Initializes a new instance of the SelectAlias class.

public SelectAlias(string aliasName = null, int topCount = -1)

Parameters

aliasName String

The name of the alias to select.

topCount Int32

The (optional) topCount.

Properties

AliasName

Gets the name of the alias that is selected.

public string AliasName { get; }

Property Value

String

Methods

Accept(Visitor)

Dispatches to the correct VisitQuery(Query) call.

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

The visitor to visit.

Returns

Node

Returns the value returned from the VisitQuery(Query) call.