src/Shared/EntityFramework/Core/Query/PlanCompiler/Predicate.cs
// <summary>
// Get the set of equi-join columns from this predicate
// </summary>
Get the set of equi-join columns from this predicate
Get the set of equi - join columns from this predicate
internal void GetEquiJoinPredicates(
            VarVec leftTableDefinitions, VarVec rightTableDefinitions,
            out List<Var> leftTableEquiJoinColumns, out List<Var> rightTableEquiJoinColumns,
            out Predicate otherPredicates)
        {
            otherPredicates = new Predicate(m_command);
            leftTableEquiJoinColumns = new List<Var>();
            rightTableEquiJoinColumns = new List<Var>();
            foreach (var part in m_parts)
            {
                Var leftTableVar;
                Var rightTableVar;
                if (IsEquiJoinPredicate(part, leftTableDefinitions, rightTableDefinitions, out leftTableVar, out rightTableVar))
                {
                    leftTableEquiJoinColumns.Add(leftTableVar);
                    rightTableEquiJoinColumns.Add(rightTableVar);
                }
                else
                {
                    otherPredicates.AddPart(part);
                }
            }
        }
internal void GetEquiJoinPredicates ( VarVec leftTableDefinitions , VarVec rightTableDefinitions , out List < Var > leftTableEquiJoinColumns , out List < Var > rightTableEquiJoinColumns , out Predicate otherPredicates ) { otherPredicates = new Predicate ( m_command ) ; leftTableEquiJoinColumns = new List < Var > ( ) ; rightTableEquiJoinColumns = new List < Var > ( ) ; foreach ( var part in m_parts ) { Var leftTableVar ; Var rightTableVar ; if ( IsEquiJoinPredicate ( part , leftTableDefinitions , rightTableDefinitions , out leftTableVar , out rightTableVar ) ) { leftTableEquiJoinColumns . Add ( leftTableVar ) ; rightTableEquiJoinColumns . Add ( rightTableVar ) ; } else { otherPredicates . AddPart ( part ) ; } } }
Get the set of equi-join columns from this predicate
Get the set of equi - join columns from this predicate
leftTableDefinitions
VarVec
rightTableDefinitions
VarVec
List<Var>
out
Predicate
out