Class NamedSetReference
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.
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 NamedSetReference : Set
Constructors
NamedSetReference(String, String)
Initializes a new instance of the NamedSetReference class.
Declaration
public NamedSetReference(string setName, string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | setName | the names of the sets referenced. |
System.String | propertyName | The name of the property. |
Properties
PropertyName
Gets the name of the property referred to (may be null)
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String |
SetName
Gets the name of the set that is referred to.
Declaration
public string SetName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) method.
Declaration
public override Node Accept(Visitor visitor)
Parameters
Type | Name | Description |
---|---|---|
Visitor | visitor | The visitor to dispatch to. |
Returns
Type | Description |
---|---|
Node | Returns the value returned by the call to VisitQuery(Query). |