54 references to ExprType
System.Data.Entity (54)
System\Data\Common\Utils\Boolean\BoolExpr.cs (13)
38internal abstract ExprType ExprType { get; } 182internal override ExprType ExprType { get { return ExprType.True; } } 219internal override ExprType ExprType { get { return ExprType.False; } } 268internal override ExprType ExprType { get { return ExprType.Term; } } 401internal override ExprType ExprType { get { return ExprType.And; } } 441internal override ExprType ExprType { get { return ExprType.Or; } } 464internal override ExprType ExprType { get { return ExprType.Not; } }
System\Data\Common\Utils\Boolean\Clause.cs (6)
34protected Clause(Set<Literal<T_Identifier>> literals, ExprType treeType) 50private static BoolExpr<T_Identifier> ConvertLiteralsToExpr(Set<Literal<T_Identifier>> literals, ExprType treeType) 52bool isAnd = ExprType.And == treeType; 53Debug.Assert(isAnd || ExprType.Or == treeType); 116: base(literals, ExprType.And) 149: base(literals, ExprType.Or)
System\Data\Common\Utils\Boolean\Sentence.cs (6)
72protected Sentence(Set<T_Clause> clauses, ExprType treeType) 80private static BoolExpr<T_Identifier> ConvertClausesToExpr(Set<T_Clause> clauses, ExprType treeType) 82bool isAnd = ExprType.And == treeType; 83Debug.Assert(isAnd || ExprType.Or == treeType); 129: base(clauses, ExprType.Or) 156: base(clauses, ExprType.And)
System\Data\Common\Utils\Boolean\Simplifier.cs (8)
38case ExprType.Not: 40case ExprType.True: return FalseExpr<T_Identifier>.Value; 41case ExprType.False: return TrueExpr<T_Identifier>.Value; 58bool isAnd = ExprType.And == tree.ExprType; 59Debug.Assert(isAnd || ExprType.Or == tree.ExprType); 85case ExprType.Not: 88case ExprType.False: 93case ExprType.True:
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (9)
53return new BoolExpression(ExprType.Not, new BoolExpression[] { expression }); 60return new BoolExpression(ExprType.And, children); 67return new BoolExpression(ExprType.Or, children); 97private BoolExpression(ExprType opType, IEnumerable<BoolExpression> children) 113case ExprType.And: 116case ExprType.Or: 119case ExprType.Not: 208return m_tree.ExprType == ExprType.True; 217return m_tree.ExprType == ExprType.False;
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (12)
269return VisitAndOr(expression, ExprType.And); 274return VisitAndOr(expression, ExprType.Or); 277private StringBuilder VisitAndOr(DomainTreeExpr expression, ExprType kind) 279Debug.Assert(kind == ExprType.Or || kind == ExprType.And); 288if (kind == ExprType.And) 499return VisitAndOr(expression, ExprType.And); 504return VisitAndOr(expression, ExprType.Or); 507private StringBuilder VisitAndOr(DomainTreeExpr expression, ExprType kind) 509Debug.Assert(kind == ExprType.Or || kind == ExprType.And); 518if (kind == ExprType.And)