Class SelectAlias
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".
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.QueryLanguage.Syntax
Assembly: TimeCockpit.Data.dll
Syntax
public class SelectAlias : Select
Constructors
SelectAlias(String, Int32)
Initializes a new instance of the SelectAlias class.
Declaration
public SelectAlias(string aliasName = null, int topCount = -1)
Parameters
Type | Name | Description |
---|---|---|
System.String | aliasName | The name of the alias to select. |
System.Int32 | topCount | The (optional) topCount. |
Properties
AliasName
Gets the name of the alias that is selected.
Declaration
public string AliasName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) call.
Declaration
public override Node Accept(Visitor visitor)
Parameters
Type | Name | Description |
---|---|---|
Visitor | visitor | The visitor to visit. |
Returns
Type | Description |
---|---|
Node | Returns the value returned from the VisitQuery(Query) call. |