Search Results for

    Show / Hide Table of Contents

    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".
    Inheritance
    System.Object
    Node
    Select
    SelectAlias
    Inherited Members
    Select.IsTopLimited
    Select.TopCount
    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.

    Overrides
    Node.Accept(Visitor)
    In This Article
    Back to top Copyright © 2020 software architects gmbh