Class EntitySourceIncludeConditional
- 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
-
ObjectEntitySourceIncludeConditional
- 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
backReferenceAliasNameStringThe name of the back reference alias.
backReferenceNameStringThe name of the back reference being included.
conditionExpressionThe include condition.
joinTypeStringThe 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
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
visitorVisitorThe visitor to dispatch.
Returns
- Node
Returns the value returned by VisitQuery(Query).