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