Table of Contents

Class EntitySourceIncludeConditional

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

AST Node representing a conditional include statement. e.g.: In

From X In Project.Include(P, Timesheet, P.BeginTime > 10) Select X

the node corresponds to the ".Include(P, Timesheet, P.BeginTime > 10)" part. BackReferenceAliasName corresponds to the alias given to the back reference item ("P"), BackReferenceName corresponds to "Timesheet" and Condition corresponds to "P.BeginTime > 10" />

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

Constructors

EntitySourceIncludeConditional(String, String, Expression, String)

Initializes a new instance of the EntitySourceIncludeConditional class.

public EntitySourceIncludeConditional(string backReferenceAliasName, string backReferenceName, Expression condition, string joinType = null)

Parameters

backReferenceAliasName String

The name of the back reference alias.

backReferenceName String

The name of the back reference being included.

condition Expression

The include condition.

joinType String

The type of the join.

Properties

BackReferenceAliasName

Gets the name of the BackReference Alias.

public string BackReferenceAliasName { get; }

Property Value

String

BackReferenceName

Gets the name of the BackReference the alias refers to.

public string BackReferenceName { get; }

Property Value

String

Condition

Gets the expression of the condition for the back reference elements.

public Expression Condition { get; }

Property Value

Expression

JoinType

Gets the type of the join.

public string JoinType { 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 to dispatch.

Returns

Node

Returns the value returned by VisitQuery(Query).