src/LogicalPlanner/Logical/JoinOperator.cs
/// <summary>
/// For adding to the maintained list of what entities are joint together by this operator
/// </summary>
/// <param name="entityAlias1">the alias on the left side of the join</param>
/// <param name="entityAlias2">the alias on the right side of the join</param>
For adding to the maintained list of what entities are joint together by this operator
For adding to the maintained list of what entities are joint together by this operator
internal void AddJoinPair(JoinKeyPair joinKeyPair)
        {
            Debug.Assert(InputSchema.Where(f => f is EntityField && f.FieldAlias == joinKeyPair.NodeAlias).Count() == 1);
            Debug.Assert(InputSchema.Where(f => f is EntityField && f.FieldAlias == joinKeyPair.RelationshipOrNodeAlias).Count() == 1);
            _joinPairs.Add(joinKeyPair);
        }
internal void AddJoinPair ( JoinKeyPair joinKeyPair ) { Debug . Assert ( InputSchema . Where ( f => f is EntityField && f . FieldAlias == joinKeyPair . NodeAlias ) . Count ( ) == 1 ) ; Debug . Assert ( InputSchema . Where ( f => f is EntityField && f . FieldAlias == joinKeyPair . RelationshipOrNodeAlias ) . Count ( ) == 1 ) ; _joinPairs . Add ( joinKeyPair ) ; }
For adding to the maintained list of what entities are joint together by this operator
For adding to the maintained list of what entities are joint together by this operator
joinKeyPair
JoinKeyPair
entityAlias1
the alias on the left side of the join
the alias on the left side of the join
entityAlias2
the alias on the right side of the join
the alias on the right side of the join