Exemple #1
0
 // <summary>
 // basic constructor
 // </summary>
 // <param name="id"> current node id </param>
 // <param name="node"> the join node </param>
 // <param name="leftChild"> left side of the join (innerJoin, LOJ and FOJ only) </param>
 // <param name="rightChild"> right side of the join </param>
 // <param name="leftVars"> left-side equijoin vars </param>
 // <param name="rightVars"> right-side equijoin vars </param>
 // <param name="otherPredicate"> any remaining predicate </param>
 internal AugmentedJoinNode(
     int id, Node node,
     AugmentedNode leftChild, AugmentedNode rightChild,
     List <ColumnVar> leftVars, List <ColumnVar> rightVars,
     Node otherPredicate)
     : this(id, node, new List <AugmentedNode>(new[] { leftChild, rightChild }))
 {
     m_otherPredicate = otherPredicate;
     m_rightVars      = rightVars;
     m_leftVars       = leftVars;
 }
 /// <summary>
 ///     basic constructor
 /// </summary>
 /// <param name="id"> current node id </param>
 /// <param name="node"> the join node </param>
 /// <param name="leftChild"> left side of the join (innerJoin, LOJ and FOJ only) </param>
 /// <param name="rightChild"> right side of the join </param>
 /// <param name="leftVars"> left-side equijoin vars </param>
 /// <param name="rightVars"> right-side equijoin vars </param>
 /// <param name="otherPredicate"> any remaining predicate </param>
 internal AugmentedJoinNode(
     int id, Node node,
     AugmentedNode leftChild, AugmentedNode rightChild,
     List<ColumnVar> leftVars, List<ColumnVar> rightVars,
     Node otherPredicate)
     : this(id, node, new List<AugmentedNode>(new[] { leftChild, rightChild }))
 {
     m_otherPredicate = otherPredicate;
     m_rightVars = rightVars;
     m_leftVars = leftVars;
 }
Exemple #3
0
 internal AugmentedJoinNode(
     int id,
     System.Data.Entity.Core.Query.InternalTrees.Node node,
     AugmentedNode leftChild,
     AugmentedNode rightChild,
     List <ColumnVar> leftVars,
     List <ColumnVar> rightVars,
     System.Data.Entity.Core.Query.InternalTrees.Node otherPredicate)
     : this(id, node, new List <AugmentedNode>((IEnumerable <AugmentedNode>) new AugmentedNode[2]
 {
     leftChild,
     rightChild
 }))
 {
     this.m_otherPredicate = otherPredicate;
     this.m_rightVars      = rightVars;
     this.m_leftVars       = leftVars;
 }