Class EntitySourceIncludeRelation
- 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
-
ObjectEntitySourceIncludeRelation
- 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
relationNameStringThe name of the relation.
Fields
IncludeAll
static instance of the include all relation AST node.
public static readonly EntitySourceIncludeRelation IncludeAll
Field Value
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
visitorVisitorThe visitor instance to dispatch.
Returns
- Node
Returns the value returned by VisitQuery(Query).