Class EntitySourceIncludeRelation
AST Node representing an Include statement including an relation. e.g. In
From X In Timesheet.Include('Project') Select X.
this node represents ".Include('Project')" with RelationName being "Project".
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 EntitySourceIncludeRelation : EntitySourceInclude
Constructors
EntitySourceIncludeRelation(String)
Initializes a new instance of the EntitySourceIncludeRelation class.
Declaration
public EntitySourceIncludeRelation(string relationName)
Parameters
Type | Name | Description |
---|---|---|
System.String | relationName | The name of the relation. |
Fields
IncludeAll
static instance of the include all relation AST node.
Declaration
public static readonly EntitySourceIncludeRelation IncludeAll
Field Value
Type | Description |
---|---|
EntitySourceIncludeRelation |
Properties
IsIncludeAll
Gets a value indicating whether this is an include all.
Declaration
public bool IsIncludeAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RelationName
Gets the name of the relation that is included.
Declaration
public string RelationName { 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 instance to dispatch. |
Returns
Type | Description |
---|---|
Node | Returns the value returned by VisitQuery(Query). |