16 references to MatchKind
System.Data.Entity (16)
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (5)
121/// Constructs a new pattern that is matched iff both <paramref name="pattern1"/> and <paramref name="pattern2"/> are matched. Does NOT return a pattern that matches <see cref="DbAndExpression"/>. Use <see cref="MatchKind"/> with an argument of <see cref="DbExpressionKind.And"/> to match an AND expression 129/// Constructs a new pattern that is matched iff all of <paramref name="pattern1"/>, <paramref name="pattern2"/> and <paramref name="pattern3"/> are matched. Does NOT return a pattern that matches <see cref="DbAndExpression"/>. Use <see cref="MatchKind"/> with an argument of <see cref="DbExpressionKind.And"/> to match an AND expression 137/// Constructs a new pattern that is matched if either <paramref name="pattern1"/> or <paramref name="pattern2"/> are matched. Does NOT return a pattern that matches <see cref="DbOrExpression"/>. Use <see cref="MatchKind"/> with an argument of <see cref="DbExpressionKind.Or"/> to match an OR expression 145/// Constructs a new pattern that is matched if either <paramref name="pattern1"/>, <paramref name="pattern2"/> or <paramref name="pattern3"/> are matched. Does NOT return a pattern that matches <see cref="DbOrExpression"/>. Use <see cref="MatchKind"/> with an argument of <see cref="DbExpressionKind.Or"/> to match an OR expression 291/// Gets a pattern that is matched if the argument expression is a <see cref="DbCaseExpression"/>. This property can be used instead of repeated calls to <see cref="MatchKind"/> with an argument of <see cref="DbExpressionKind.Case"/>
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (11)
342Patterns.MatchKind(DbExpressionKind.Equals), 343Patterns.MatchKind(DbExpressionKind.Or) 355Patterns.MatchKind(DbExpressionKind.Property), 356Patterns.MatchKind(DbExpressionKind.Case) 363Patterns.MatchKind(DbExpressionKind.Property), 364Patterns.MatchKind(DbExpressionKind.Or) 370Patterns.MatchForAll(Patterns.MatchKind(DbExpressionKind.Property)), 371Patterns.MatchForAll(Patterns.MatchKind(DbExpressionKind.NewInstance)), 372Patterns.MatchKind(DbExpressionKind.NewInstance) 560private static readonly Func<DbExpression, bool> Pattern_Case = Patterns.MatchKind(DbExpressionKind.Case); 621Patterns.MatchKind(DbExpressionKind.NewInstance)