System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (11)
432Dictionary<object, DbComparisonExpression> discriminatorPredicates = new Dictionary<object, DbComparisonExpression>();
439EdmProperty discriminatorProp = (EdmProperty)((DbPropertyExpression)((DbComparisonExpression)discriminatorPredicates.First().Value).Left).Property;
442Dictionary<string, DbComparisonExpression> inputPredicateMap = new Dictionary<string, DbComparisonExpression>();
443Dictionary<string, DbComparisonExpression> selectorPredicateMap = new Dictionary<string, DbComparisonExpression>();
474selectorPredicateMap.Add(propName, (DbComparisonExpression)casePredicate.When[0]);
495DbComparisonExpression discriminatorWhen;
772internal static bool TryMatchDiscriminatorPredicate(DbFilterExpression filter, Action<DbComparisonExpression, object> onMatchedComparison)
796onMatchedComparison((DbComparisonExpression)term, discriminatorValue);