src/Shared/EntityFramework/Core/Mapping/Update/Internal/Propagator.Evaluator.cs
// <summary>
// Utility method filtering out a set of rows given a predicate.
// </summary>
// <param name="predicate"> Match criteria. </param>
// <param name="rows"> Input rows. </param>
// <returns> Input rows matching criteria. </returns>
Utility method filtering out a set of rows given a predicate.
Utility method filtering out a set of rows given a predicate .
internal static IEnumerable<PropagatorResult> Filter(
                DbExpression predicate, IEnumerable<PropagatorResult> rows)
            {
                foreach (var row in rows)
                {
                    if (EvaluatePredicate(predicate, row))
                    {
                        yield return row;
                    }
                }
            }
internal static IEnumerable < PropagatorResult > Filter ( DbExpression predicate , IEnumerable < PropagatorResult > rows ) { foreach ( var row in rows ) { if ( EvaluatePredicate ( predicate , row ) ) { yield return row ; } } }
Utility method filtering out a set of rows given a predicate.
Utility method filtering out a set of rows given a predicate .
Input rows matching criteria.
Input rows matching criteria .
predicate
DbExpression
None
rows
IEnumerable<PropagatorResult>
None