8 instantiations of TermExpr
System.Data.Entity (8)
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
138
return new
TermExpr
<T_Identifier>(value);
System\Data\Common\Utils\Boolean\ConversionContext.cs (1)
186
new
TermExpr
<DomainConstraint<T_Variable, T_Element>>(constraint), true);
System\Data\Common\Utils\Boolean\IdentifierService.cs (1)
99
TermExpr<DomainConstraint<T_Variable, T_Element>> term = new
TermExpr
<DomainConstraint<T_Variable, T_Element>>(
System\Data\Common\Utils\Boolean\NegationPusher.cs (1)
114
return new
TermExpr
<DomainConstraint<T_Variable, T_Element>>(expression.Identifier.InvertDomainConstraint());
System\Data\Mapping\FunctionImportMapping.cs (2)
351
var isNull = new
TermExpr
<DomainConstraint<string, ValueCondition>>(
358
var hasValue = new
TermExpr
<DomainConstraint<string, ValueCondition>>(
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
136
new NotExpr<DomainConstraint<BoolLiteral, Constant>>(new
TermExpr
<DomainConstraint<BoolLiteral, Constant>>(constraint))));
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (1)
58
DomainTermExpr result = new
DomainTermExpr
(EqualityComparer<DomainConstraint>.Default, constraint);
72 references to TermExpr
System.Data.Entity (72)
System\Data\Common\Utils\Boolean\BoolExpr.cs (5)
117
internal List<
TermExpr
<T_Identifier>> GetTerms()
241
internal sealed class TermExpr<T_Identifier> : BoolExpr<T_Identifier>, IEquatable<
TermExpr
<T_Identifier>>
273
return this.Equals(obj as
TermExpr
<T_Identifier>);
276
public bool Equals(
TermExpr
<T_Identifier> other)
283
return _comparer.Equals(_identifier, ((
TermExpr
<T_Identifier>)other)._identifier);
System\Data\Common\Utils\Boolean\ConversionContext.cs (7)
33
internal abstract Vertex TranslateTermToVertex(
TermExpr
<T_Identifier> term);
62
readonly Dictionary<
TermExpr
<T_Identifier>, int> _variableMap = new Dictionary<
TermExpr
<T_Identifier>, int>();
63
Dictionary<int,
TermExpr
<T_Identifier>> _inverseVariableMap;
65
internal override Vertex TranslateTermToVertex(
TermExpr
<T_Identifier> term)
86
TermExpr
<T_Identifier> term = _inverseVariableMap[vertex.Variable];
122
internal override Vertex TranslateTermToVertex(
TermExpr
<DomainConstraint<T_Variable, T_Element>> term)
System\Data\Common\Utils\Boolean\IdentifierService.cs (1)
99
TermExpr
<DomainConstraint<T_Variable, T_Element>> term = new TermExpr<DomainConstraint<T_Variable, T_Element>>(
System\Data\Common\Utils\Boolean\Literal.cs (3)
32
private readonly
TermExpr
<T_Identifier> _term;
40
internal Literal(
TermExpr
<T_Identifier> term, bool isTermPositive)
51
internal
TermExpr
<T_Identifier> Term
System\Data\Common\Utils\Boolean\NegationPusher.cs (2)
64
internal override BoolExpr<T_Identifier> VisitTerm(
TermExpr
<T_Identifier> expression)
112
internal override BoolExpr<DomainConstraint<T_Variable, T_Element>> VisitTerm(
TermExpr
<DomainConstraint<T_Variable, T_Element>> expression)
System\Data\Common\Utils\Boolean\Visitor.cs (11)
31
internal abstract T_Return VisitTerm(
TermExpr
<T_Identifier> expression);
45
internal override BoolExpr<T_Identifier> VisitTerm(
TermExpr
<T_Identifier> expression) { return expression; }
84
internal override int VisitTerm(
TermExpr
<T_Identifier> expression)
121
readonly List<
TermExpr
<T_Identifier>> _terms;
125
_terms = new List<
TermExpr
<T_Identifier>>();
128
internal static List<
TermExpr
<T_Identifier>> GetTerms(BoolExpr<T_Identifier> expression)
151
internal override bool VisitTerm(
TermExpr
<T_Identifier> expression)
189
private readonly Func<
TermExpr
<T_From>, BoolExpr<T_To>> _translator;
195
internal BooleanExpressionTermRewriter(Func<
TermExpr
<T_From>, BoolExpr<T_To>> translator)
216
internal override BoolExpr<T_To> VisitTerm(
TermExpr
<T_From> expression)
271
internal override Vertex VisitTerm(
TermExpr
<T_Identifier> expression)
System\Data\Mapping\FunctionImportMapping.cs (2)
351
var
isNull = new TermExpr<DomainConstraint<string, ValueCondition>>(
358
var
hasValue = new TermExpr<DomainConstraint<string, ValueCondition>>(
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
428
internal override CellTreeNode VisitTerm(
TermExpr
<DomainConstraint<BoolLiteral, Constant>> expression)
System\Data\Mapping\ViewGeneration\Structures\BoolExpression.cs (9)
27
using DomainTermExpr =
TermExpr
<DomainConstraint<BoolLiteral, Constant>>;
158
IEnumerable<
DomainTermExpr
> atoms = TermVisitor.GetTerms(m_tree, false);
159
foreach (
DomainTermExpr
atom in atoms)
173
IEnumerable<
DomainTermExpr
> terms = TermVisitor.GetTerms(m_tree, true);
174
foreach (
DomainTermExpr
term in terms)
188
DomainTermExpr
literal = m_tree as
DomainTermExpr
;
196
internal static BoolLiteral GetBoolLiteral(
DomainTermExpr
term)
306
delegate(
DomainTermExpr
term)
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (22)
27
using DomainTermExpr =
TermExpr
<DomainConstraint<BoolLiteral, Constant>>;
62
internal override DomainBoolExpr VisitTerm(
DomainTermExpr
expression)
95
internal override bool VisitTerm(
DomainTermExpr
expression)
173
internal override DomainBoolExpr VisitTerm(
DomainTermExpr
expression)
209
internal override DomainBoolExpr VisitTerm(
DomainTermExpr
expression)
399
internal override T_Return VisitTerm(
DomainTermExpr
expression)
462
internal override StringBuilder VisitTerm(
DomainTermExpr
expression)
481
DomainTermExpr
termExpr = expression.Child as
DomainTermExpr
;
542
private class TermVisitor : Visitor<BoolDomainConstraint, IEnumerable<
DomainTermExpr
>>
552
internal static IEnumerable<
DomainTermExpr
> GetTerms(DomainBoolExpr expression, bool allowAllOperators)
555
return expression.Accept<IEnumerable<
DomainTermExpr
>>(visitor);
564
internal override IEnumerable<
DomainTermExpr
> VisitTrue(DomainTrueExpr expression)
569
internal override IEnumerable<
DomainTermExpr
> VisitFalse(DomainFalseExpr expression)
574
internal override IEnumerable<
DomainTermExpr
> VisitTerm(
DomainTermExpr
expression)
579
internal override IEnumerable<
DomainTermExpr
> VisitNot(DomainNotExpr expression)
585
private IEnumerable<
DomainTermExpr
> VisitTreeNode(DomainTreeExpr expression)
589
foreach (
DomainTermExpr
result in child.Accept(this))
596
internal override IEnumerable<
DomainTermExpr
> VisitAnd(DomainAndExpr expression)
601
internal override IEnumerable<
DomainTermExpr
> VisitOr(DomainOrExpr expression)
645
internal override StringBuilder VisitTerm(
DomainTermExpr
expression)
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (5)
23
using DomainTermExpr = System.Data.Common.Utils.Boolean.
TermExpr
<System.Data.Common.Utils.Boolean.DomainConstraint<BoolLiteral, Constant>>;
41
internal static
DomainTermExpr
MakeTermExpression(BoolLiteral literal, IEnumerable<Constant> domain, IEnumerable<Constant> range)
51
internal static
DomainTermExpr
MakeTermExpression(BoolLiteral literal, Set<Constant> domain, Set<Constant> range)
58
DomainTermExpr
result = new DomainTermExpr(EqualityComparer<DomainConstraint>.Default, constraint);
187
DomainTermExpr
result = MakeTermExpression(this, variableDomain, thisDomain);
System\Data\Mapping\ViewGeneration\Structures\CellTreeNodeVisitors.cs (1)
24
using WrapperTermExpr =
TermExpr
<LeftCellWrapper>;
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (2)
21
using DomainTermExpr = System.Data.Common.Utils.Boolean.
TermExpr
<System.Data.Common.Utils.Boolean.DomainConstraint<BoolLiteral, Constant>>;
110
DomainTermExpr
result;
System\Data\Mapping\ViewGeneration\Validation\ConstraintBase.cs (1)
25
using WrapperTermExpr =
TermExpr
<LeftCellWrapper>;