Class NamedSetReference
- Assembly
- TimeCockpit.Data.dll
AST Node representing a reference to a named set defined in the model. e.g. In
From X In Timesheet Where X.Description In Set('ImportantDescriptions') Select X
an instance of this class represents the "Set('ImportantDescriptions')" expression part.
public class NamedSetReference : Set
- Inheritance
-
ObjectNamedSetReference
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
NamedSetReference(String, String)
Initializes a new instance of the NamedSetReference class.
public NamedSetReference(string setName, string propertyName = null)
Parameters
setNameStringthe names of the sets referenced.
propertyNameStringThe name of the property.
Properties
PropertyName
Gets the name of the property referred to (may be null)
public string PropertyName { get; }
Property Value
- String
SetName
Gets the name of the set that is referred to.
public string SetName { get; }
Property Value
- String
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) method.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorThe visitor to dispatch to.
Returns
- Node
Returns the value returned by the call to VisitQuery(Query).