Class SelectAlias
- 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
-
ObjectSelectAlias
- 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
aliasNameStringThe name of the alias to select.
topCountInt32The (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
visitorVisitorThe visitor to visit.
Returns
- Node
Returns the value returned from the VisitQuery(Query) call.