src/Shared/EntityFramework/Core/Query/PlanCompiler/Predicate.cs
// <summary>
// Partition the current predicate into predicates that only apply
// to the specified table (single-table-predicates), and others
// </summary>
// <param name="tableDefinitions"> current columns defined by the table </param>
// <param name="otherPredicates"> non-single-table predicates </param>
// <returns> single-table-predicates </returns>
Partition the current predicate into predicates that only apply
to the specified table (single-table-predicates), and others
Partition the current predicate into predicates that only apply to the specified table ( single - table - predicates ) and others
internal Predicate GetSingleTablePredicates(
            VarVec tableDefinitions,
            out Predicate otherPredicates)
        {
            var tableDefinitionList = new List<VarVec>();
            tableDefinitionList.Add(tableDefinitions);
            List<Predicate> singleTablePredicateList;
            GetSingleTablePredicates(tableDefinitionList, out singleTablePredicateList, out otherPredicates);
            return singleTablePredicateList[0];
        }
internal Predicate GetSingleTablePredicates ( VarVec tableDefinitions , out Predicate otherPredicates ) { var tableDefinitionList = new List < VarVec > ( ) ; tableDefinitionList . Add ( tableDefinitions ) ; List < Predicate > singleTablePredicateList ; GetSingleTablePredicates ( tableDefinitionList , out singleTablePredicateList , out otherPredicates ) ; return singleTablePredicateList [ 0 ] ; }
Partition the current predicate into predicates that only apply
to the specified table (single-table-predicates), and others
Partition the current predicate into predicates that only apply to the specified table ( single - table - predicates ) and others
None
tableDefinitions
VarVec
current columns defined by the table
current columns defined by the table
Predicate
out
otherPredicates
None