Table of Contents

Class EntitySourceIncludeRelation

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

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".

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

Constructors

EntitySourceIncludeRelation(String)

Initializes a new instance of the EntitySourceIncludeRelation class.

public EntitySourceIncludeRelation(string relationName)

Parameters

relationName String

The name of the relation.

Fields

IncludeAll

static instance of the include all relation AST node.

public static readonly EntitySourceIncludeRelation IncludeAll

Field Value

EntitySourceIncludeRelation

Properties

IsIncludeAll

Gets a value indicating whether this is an include all.

public bool IsIncludeAll { get; }

Property Value

Boolean

RelationName

Gets the name of the relation that is included.

public string RelationName { get; }

Property Value

String

Methods

Accept(Visitor)

Dispatches to the correct VisitQuery(Query) call.

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

The visitor instance to dispatch.

Returns

Node

Returns the value returned by VisitQuery(Query).