Table of Contents

Class ExplicitSet

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

AST Node representing an explicit set definition, e.g.: in

From X In Timesheet Where X.Description In ('Some Description', 'Some Other Description') Select X

an instance of this node refers to "('Some Description', 'Some Other Description')".

public class ExplicitSet : Set
Inheritance
Object
ExplicitSet
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

ExplicitSet(IEnumerable<Expression>)

Initializes a new instance of the ExplicitSet class.

public ExplicitSet(IEnumerable<Expression> elements)

Parameters

elements IEnumerable<Expression>

The expressions producing the elements of the set.

Properties

Elements

Gets the expressions of the elements of the set.

public ReadOnlyCollection<Expression> Elements { get; }

Property Value

ReadOnlyCollection<Expression>

Methods

Accept(Visitor)

Dispatches to the correct VisitQuery(Query) call.

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

The visitor to dispatch.

Returns

Node

Returns the value returned by the call to VisitQuery(Query).