283 references to ExpressionKind
System.Data.Entity (283)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (11)
473
switch(expression.
ExpressionKind
)
564
switch(expression.
ExpressionKind
)
683
if (expression.
ExpressionKind
== DbExpressionKind.IsOfOnly)
724
if (expression.
ExpressionKind
== DbExpressionKind.OfTypeOnly)
908
if (DbExpressionKind.InnerJoin == expression.
ExpressionKind
)
912
else if (DbExpressionKind.LeftOuterJoin == expression.
ExpressionKind
)
918
Debug.Assert(expression.
ExpressionKind
== DbExpressionKind.FullOuterJoin, "DbJoinExpression had ExpressionKind other than InnerJoin, LeftOuterJoin or FullOuterJoin?");
939
if (DbExpressionKind.CrossApply == expression.
ExpressionKind
)
945
Debug.Assert(expression.
ExpressionKind
== DbExpressionKind.OuterApply, "DbApplyExpression had ExpressionKind other than CrossApply or OuterApply?");
1036
if (DbExpressionKind.All == expression.
ExpressionKind
)
1042
Debug.Assert(expression.
ExpressionKind
== DbExpressionKind.Any, "DbQuantifierExpression had ExpressionKind other than All or Any?");
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (5)
696
if (count.
ExpressionKind
!= DbExpressionKind.Constant &&
697
count.
ExpressionKind
!= DbExpressionKind.ParameterReference)
1387
if (limit.
ExpressionKind
!= DbExpressionKind.Constant &&
1388
limit.
ExpressionKind
!= DbExpressionKind.ParameterReference)
2056
return (expression.
ExpressionKind
== DbExpressionKind.Constant &&
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
359
attrs.Add("DbExpressionKind", Enum.GetName(typeof(DbExpressionKind), expr.
ExpressionKind
));
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (23)
156
VisitExprKind(expr.
ExpressionKind
);
164
VisitExprKind(expr.
ExpressionKind
);
174
VisitExprKind(e.
ExpressionKind
);
345
VisitExprKind(e.
ExpressionKind
);
356
VisitExprKind(e.
ExpressionKind
);
372
VisitExprKind(e.
ExpressionKind
);
391
VisitExprKind(e.
ExpressionKind
);
457
VisitExprKind(e.
ExpressionKind
);
467
VisitExprKind(e.
ExpressionKind
);
477
VisitExprKind(e.
ExpressionKind
);
493
VisitExprKind(e.
ExpressionKind
);
524
VisitExprKind(e.
ExpressionKind
);
538
VisitExprKind(e.
ExpressionKind
);
567
VisitExprKind(e.
ExpressionKind
);
579
VisitExprKind(e.
ExpressionKind
);
589
VisitExprKind(e.
ExpressionKind
);
599
VisitExprKind(e.
ExpressionKind
);
610
VisitExprKind(e.
ExpressionKind
);
621
VisitExprKind(e.
ExpressionKind
);
630
VisitExprKind(e.
ExpressionKind
);
683
VisitExprKind(e.
ExpressionKind
);
694
VisitExprKind(e.
ExpressionKind
);
703
VisitExprKind(e.
ExpressionKind
);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (9)
273
return new TreeNode(Enum.GetName(typeof(DbExpressionKind), expr.
ExpressionKind
));
572
if (e.Instance.
ExpressionKind
== DbExpressionKind.VariableReference ||
573
(e.Instance.
ExpressionKind
== DbExpressionKind.Property && 0 == inst.Children.Count))
601
return this.VisitInfix(e, e.Left, _opMap[e.
ExpressionKind
], e.Right);
621
if (DbExpressionKind.UnaryMinus == e.
ExpressionKind
)
623
return this.Visit(_opMap[e.
ExpressionKind
], e.Arguments[0]);
627
return this.VisitInfix(e, e.Arguments[0], _opMap[e.
ExpressionKind
], e.Arguments[1]);
713
if (DbExpressionKind.IsOfOnly == e.
ExpressionKind
)
730
TreeNode retInfo = new TreeNode(e.
ExpressionKind
== DbExpressionKind.OfTypeOnly ? "OfTypeOnly" : "OfType");
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (6)
209
return (e => e.
ExpressionKind
== kindToMatch);
271
return (e => { if (e.
ExpressionKind
!= DbExpressionKind.Filter) { return false; } else { DbFilterExpression filterEx = (DbFilterExpression)e; return inputPattern(filterEx.Input.Expression) && predicatePattern(filterEx.Predicate); } });
279
return (e => { if (e.
ExpressionKind
!= DbExpressionKind.Project) { return false; } else { DbProjectExpression projectEx = (DbProjectExpression)e; return inputPattern(projectEx.Input.Expression) && projectionPattern(projectEx.Projection); } });
287
return (e => { if (e.
ExpressionKind
!= DbExpressionKind.Case) { return false; } else { DbCaseExpression caseEx = (DbCaseExpression)e; return whenPattern(caseEx.When) && thenPattern(caseEx.Then) && elsePattern(caseEx.Else); } });
293
internal static Func<DbExpression, bool> MatchNewInstance() { return (e => e.
ExpressionKind
== DbExpressionKind.NewInstance); }
300
return (e => { if (e.
ExpressionKind
!= DbExpressionKind.NewInstance) { return false; } else { DbNewInstanceExpression newInst = (DbNewInstanceExpression)e; return argumentsPattern(newInst.Arguments); } });
System\Data\Common\CommandTrees\Internal\Validator.cs (2)
90
if(result.
ExpressionKind
== DbExpressionKind.VariableReference)
120
if (result.
ExpressionKind
== DbExpressionKind.ParameterReference)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (16)
199
if (entityProject.Projection.
ExpressionKind
== DbExpressionKind.Case)
423
.Where(px => px.Instance.
ExpressionKind
== DbExpressionKind.VariableReference &&
451
if(columnVal.
ExpressionKind
!= DbExpressionKind.Case)
458
casePredicate.Then[0].
ExpressionKind
!= DbExpressionKind.Constant || casePredicate.Else.
ExpressionKind
!= DbExpressionKind.Constant ||
539
if (expression.Instance.
ExpressionKind
== DbExpressionKind.VariableReference &&
592
if (predicate.
ExpressionKind
!= DbExpressionKind.Case) { return false; }
594
if (caseExpression.Then.Count != 1 && caseExpression.Then[0].
ExpressionKind
== DbExpressionKind.Constant)
602
if (caseExpression.Else.
ExpressionKind
!= DbExpressionKind.Constant) { return false; }
726
if (property.Instance.
ExpressionKind
== DbExpressionKind.VariableReference &&
768
exp => (exp.
ExpressionKind
!= DbExpressionKind.Or),
807
if (expression.
ExpressionKind
!= DbExpressionKind.Equals) { return false; }
809
if (equals.Left.
ExpressionKind
!= DbExpressionKind.Property) { return false; }
814
if (property.Instance.
ExpressionKind
!= DbExpressionKind.VariableReference ||
822
if (expression.
ExpressionKind
== DbExpressionKind.Constant)
827
if (expression.
ExpressionKind
== DbExpressionKind.Cast &&
System\Data\Common\CommandTrees\OperatorExpressions.cs (3)
374
Debug.Assert(DbExpressionKind.IsOf == this.
ExpressionKind
|| DbExpressionKind.IsOfOnly == this.
ExpressionKind
, string.Format(CultureInfo.InvariantCulture, "Invalid DbExpressionKind used in DbIsOfExpression: {0}", Enum.GetName(typeof(DbExpressionKind), this.
ExpressionKind
)));
System\Data\Common\EntitySql\SemanticAnalyzer.cs (10)
2983
if (expr.
ExpressionKind
!= DbExpressionKind.Constant &&
2984
expr.
ExpressionKind
!= DbExpressionKind.ParameterReference)
3615
converted = converted.
ExpressionKind
== CommandTrees.DbExpressionKind.Null ? converted : converted.ResultType.Null();
3952
if (lambdaBody.
ExpressionKind
!= DbExpressionKind.Project)
3965
if (projectExpression.Projection.
ExpressionKind
== DbExpressionKind.VariableReference)
3970
else if (projectExpression.Projection.
ExpressionKind
== DbExpressionKind.NewInstance &&
3985
if (projectionExpression.Arguments[i].
ExpressionKind
!= DbExpressionKind.Property)
4309
Debug.Assert(right.
ExpressionKind
== DbExpressionKind.NewInstance, "right.ExpressionKind == DbExpressionKind.NewInstance");
4757
if (args.Right.
ExpressionKind
== DbExpressionKind.NewInstance)
4792
if (args.Right.
ExpressionKind
== DbExpressionKind.NewInstance)
System\Data\Mapping\Update\Internal\Propagator.cs (5)
125
throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedJoinType(node.
ExpressionKind
));
139
if (DbExpressionKind.InnerJoin != node.
ExpressionKind
&& DbExpressionKind.LeftOuterJoin != node.
ExpressionKind
)
141
throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedJoinType(node.
ExpressionKind
));
260
throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedProjection(node.Projection.
ExpressionKind
));
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (2)
190
if (DbExpressionKind.IsOfOnly != predicate.
ExpressionKind
)
219
if (DbExpressionKind.Equals == predicate.
ExpressionKind
)
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (3)
64
Debug.Assert(DbExpressionKind.LeftOuterJoin == node.
ExpressionKind
|| DbExpressionKind.InnerJoin == node.
ExpressionKind
, "(Update/JoinPropagagtor/JoinEvaluator) " +
67
if (DbExpressionKind.InnerJoin == m_joinExpression.
ExpressionKind
)
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.JoinPredicateVisitor.cs (1)
124
if (DbExpressionKind.Equals == node.
ExpressionKind
)
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (1)
417
if (valueExpression.
ExpressionKind
== DbExpressionKind.Null)
System\Data\Mapping\Update\Internal\UpdateExpressionVisitor.cs (1)
43
node.
ExpressionKind
.ToString();
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (7)
79
if (queryView.
ExpressionKind
!= DbExpressionKind.Project) { return false; }
82
if (project.Projection.
ExpressionKind
!= DbExpressionKind.Case) { return false; }
87
if (project.Input.Expression.
ExpressionKind
!= DbExpressionKind.Filter) { return false; }
189
if (then.
ExpressionKind
!= DbExpressionKind.NewInstance)
255
if (x.
ExpressionKind
!= y.
ExpressionKind
) { return false; }
256
switch (x.
ExpressionKind
)
System\Data\Mapping\ViewValidator.cs (1)
79
ValidateExpressionKind(expression.
ExpressionKind
);
System\Data\Objects\ELinq\ExpressionConverter.cs (7)
491
if (projection.
ExpressionKind
== DbExpressionKind.VariableReference &&
849
if (input.
ExpressionKind
== DbExpressionKind.Project && !TryGetSpan(input, out span))
1249
switch (left.
ExpressionKind
)
1252
switch (right.
ExpressionKind
)
1262
switch (right.
ExpressionKind
)
1272
switch (right.
ExpressionKind
)
1374
if (providerSupportsEscapingLikeArgument && translatedPatternExpression.
ExpressionKind
== DbExpressionKind.Constant)
System\Data\Objects\ELinq\MethodCallTranslator.cs (21)
443
if (arg.
ExpressionKind
== DbExpressionKind.Constant)
895
switch (argument.
ExpressionKind
)
1193
if (argument.
ExpressionKind
!= DbExpressionKind.Constant ||
2188
bool requireSentinel = !(null == defaultValue || defaultValue.
ExpressionKind
== DbExpressionKind.Null);
2247
if (source.
ExpressionKind
== DbExpressionKind.NewInstance)
2259
IEnumerable<DbExpression> constantArguments = arguments.Where(argument => argument.
ExpressionKind
== DbExpressionKind.Constant);
2267
IEnumerable<DbExpression> otherArguments = arguments.Where(argument => argument.
ExpressionKind
!= DbExpressionKind.Constant);
2611
if (cqtExpression.
ExpressionKind
!= DbExpressionKind.CrossApply)
2625
if (crossApply.Apply.Expression.
ExpressionKind
!= DbExpressionKind.Project)
2632
if (rightProject.Input.Expression.
ExpressionKind
!= DbExpressionKind.LeftOuterJoin)
2638
if (rightProject.Projection.
ExpressionKind
!= DbExpressionKind.Property)
2650
loj.JoinCondition.
ExpressionKind
!= DbExpressionKind.Constant)
2669
if (loj.Left.Expression.
ExpressionKind
!= DbExpressionKind.NewInstance)
2674
if (lojLeft.Arguments.Count != 1 || lojLeft.Arguments[0].
ExpressionKind
!= DbExpressionKind.Constant)
2683
if (loj.Right.Expression.
ExpressionKind
!= DbExpressionKind.Property)
2922
if (cqtExpression.
ExpressionKind
!= DbExpressionKind.Project)
2928
if (project.Projection.
ExpressionKind
!= DbExpressionKind.NewInstance ||
2939
if (projection.Arguments[i].
ExpressionKind
!= DbExpressionKind.Property)
2952
if (project.Input.Expression.
ExpressionKind
!= DbExpressionKind.Project)
2958
if (innerProject.Projection.
ExpressionKind
!= DbExpressionKind.NewInstance ||
3016
if (DbExpressionKind.Sort != source.
ExpressionKind
)
System\Data\Objects\ELinq\OrderByLifter.cs (31)
102
if (source.
ExpressionKind
== DbExpressionKind.Sort)
106
if (source.
ExpressionKind
== DbExpressionKind.Project)
110
if (projectInput.
ExpressionKind
== DbExpressionKind.Sort)
114
if (projectInput.
ExpressionKind
== DbExpressionKind.Skip)
118
if (projectInput.
ExpressionKind
== DbExpressionKind.Limit)
122
if (limitInput.
ExpressionKind
== DbExpressionKind.Sort)
126
if (limitInput.
ExpressionKind
== DbExpressionKind.Skip)
132
if (source.
ExpressionKind
== DbExpressionKind.Skip)
136
if (source.
ExpressionKind
== DbExpressionKind.Limit)
140
if (limitInput.
ExpressionKind
== DbExpressionKind.Sort)
144
if (limitInput.
ExpressionKind
== DbExpressionKind.Skip)
148
if (limitInput.
ExpressionKind
== DbExpressionKind.Project)
152
if (projectInput.
ExpressionKind
== DbExpressionKind.Sort)
158
if (projectInput.
ExpressionKind
== DbExpressionKind.Skip)
240
if (left.
ExpressionKind
== DbExpressionKind.Constant &&
241
right.
ExpressionKind
== DbExpressionKind.Constant)
329
if (_limit.Limit.
ExpressionKind
== DbExpressionKind.Constant &&
330
k.
ExpressionKind
== DbExpressionKind.Constant)
381
if (_limit.Limit.
ExpressionKind
== DbExpressionKind.Constant &&
382
k.
ExpressionKind
== DbExpressionKind.Constant)
452
if (_limit.Limit.
ExpressionKind
== DbExpressionKind.Constant &&
453
k.
ExpressionKind
== DbExpressionKind.Constant)
476
if (_skip.Count.
ExpressionKind
== DbExpressionKind.Constant &&
477
_limit.Limit.
ExpressionKind
== DbExpressionKind.Constant &&
478
k.
ExpressionKind
== DbExpressionKind.Constant)
549
if (_limit.Limit.
ExpressionKind
== DbExpressionKind.Constant &&
550
k.
ExpressionKind
== DbExpressionKind.Constant)
623
if (_skip.Count.
ExpressionKind
== DbExpressionKind.Constant &&
624
k.
ExpressionKind
== DbExpressionKind.Constant)
672
if (_skip.Count.
ExpressionKind
== DbExpressionKind.Constant &&
673
k.
ExpressionKind
== DbExpressionKind.Constant)
System\Data\Objects\ELinq\Translator.cs (1)
332
if (DbExpressionKind.Property == instance.
ExpressionKind
)
System\Data\Objects\Internal\ObjectSpanRewriter.cs (6)
169
switch(expression.
ExpressionKind
)
222
if (DbExpressionKind.NewInstance == expression.
ExpressionKind
)
463
if (DbExpressionKind.Project == expression.
ExpressionKind
)
782
switch (expression.
ExpressionKind
)
834
if (DbExpressionKind.Deref == testExpr.
ExpressionKind
)
839
if (DbExpressionKind.VariableReference == testExpr.
ExpressionKind
)
System\Data\Query\PlanCompiler\ITreeGenerator.cs (41)
275
PlanCompiler.Assert(ctree.Query.
ExpressionKind
== DbExpressionKind.Project,
363
switch (expr.
ExpressionKind
)
530
List<Node> arguments = new List<Node>((expr.
ExpressionKind
== DbExpressionKind.IsNull) ? 3 : 5);
539
if (expr.
ExpressionKind
!= DbExpressionKind.IsNull)
549
if (expr.
ExpressionKind
!= DbExpressionKind.IsNull)
1212
if (propertyExpression.Instance.
ExpressionKind
== DbExpressionKind.Property &&
1265
if (e.Instance.
ExpressionKind
== DbExpressionKind.NewInstance &&
1310
Op op = _iqtCommand.CreateComparisonOp(s_opMap[e.
ExpressionKind
]);
1325
(e.
ExpressionKind
== DbExpressionKind.Equals || e.
ExpressionKind
== DbExpressionKind.NotEquals))
1474
if (e.Argument.
ExpressionKind
== DbExpressionKind.IsNull)
1478
else if (e.Argument.
ExpressionKind
== DbExpressionKind.Not)
1481
if (notExpression.Argument.
ExpressionKind
== DbExpressionKind.IsNull)
1507
Op op = _iqtCommand.CreateArithmeticOp(s_opMap[e.
ExpressionKind
], e.ResultType);
1591
PlanCompiler.Assert(DbExpressionKind.Except == expression.
ExpressionKind
||
1592
DbExpressionKind.Intersect == expression.
ExpressionKind
||
1593
DbExpressionKind.UnionAll == expression.
ExpressionKind
,
1621
switch(expression.
ExpressionKind
)
1678
if (DbExpressionKind.IsOfOnly == e.
ExpressionKind
)
1734
this.isExact = (template.
ExpressionKind
== DbExpressionKind.IsOfOnly);
1740
this.isExact = (template.
ExpressionKind
== DbExpressionKind.OfTypeOnly);
1838
return Merge(other.OfType, (other.
ExpressionKind
== DbExpressionKind.IsOfOnly));
1843
return Merge(other.OfType, (other.
ExpressionKind
== DbExpressionKind.OfTypeOnly));
1875
if(filter.Predicate.
ExpressionKind
!= DbExpressionKind.IsOf &&
1876
filter.Predicate.
ExpressionKind
!= DbExpressionKind.IsOfOnly)
1882
return (isOfArgument.
ExpressionKind
== DbExpressionKind.VariableReference &&
1904
switch(current.
ExpressionKind
)
1949
if(project.Projection.
ExpressionKind
== DbExpressionKind.VariableReference &&
2283
PlanCompiler.Assert(DbExpressionKind.CrossJoin == e.
ExpressionKind
||
2284
DbExpressionKind.InnerJoin == e.
ExpressionKind
||
2285
DbExpressionKind.LeftOuterJoin == e.
ExpressionKind
||
2286
DbExpressionKind.FullOuterJoin == e.
ExpressionKind
,
2334
switch (e.
ExpressionKind
)
2369
if (e.
ExpressionKind
!= DbExpressionKind.CrossJoin)
2416
PlanCompiler.Assert(DbExpressionKind.CrossApply == e.
ExpressionKind
|| DbExpressionKind.OuterApply == e.
ExpressionKind
, "Unrecognized DbExpressionKind specified in DbApplyExpression");
2422
if (DbExpressionKind.CrossApply == e.
ExpressionKind
)
2960
PlanCompiler.Assert(DbExpressionKind.Any == e.
ExpressionKind
|| DbExpressionKind.All == e.
ExpressionKind
, "Invalid DbExpressionKind in DbQuantifierExpression");
2979
if (DbExpressionKind.All == e.
ExpressionKind
)
3025
if (DbExpressionKind.All == e.
ExpressionKind
)
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (4)
511
Debug.Assert(expression.
ExpressionKind
== DbExpressionKind.Equals,
531
Debug.Assert(propertyExpression.
ExpressionKind
== DbExpressionKind.Property,
538
if (value.
ExpressionKind
!= DbExpressionKind.Null)
540
Debug.Assert(value.
ExpressionKind
== DbExpressionKind.Constant,
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (4)
141
if (sortClause.Expression.
ExpressionKind
== DbExpressionKind.Property)
397
if (expr1.Instance.
ExpressionKind
!= expr2.Instance.
ExpressionKind
)
402
if (expr1.Instance.
ExpressionKind
== DbExpressionKind.Property)
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (1)
806
if (instanceExpression.
ExpressionKind
!= DbExpressionKind.Function)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (60)
599
switch (e.
ExpressionKind
)
629
switch (e.
ExpressionKind
)
632
result = VisitBinaryExpression(" / ", e.
ExpressionKind
, e.Arguments[0], e.Arguments[1]);
635
result = VisitBinaryExpression(" - ", e.
ExpressionKind
, e.Arguments[0], e.Arguments[1]);
638
result = VisitBinaryExpression(" % ", e.
ExpressionKind
, e.Arguments[0], e.Arguments[1]);
641
result = VisitBinaryExpression(" * ", e.
ExpressionKind
, e.Arguments[0], e.Arguments[1]);
644
result = VisitBinaryExpression(" + ", e.
ExpressionKind
, e.Arguments[0], e.Arguments[1]);
734
switch (e.
ExpressionKind
)
795
if (e.
ExpressionKind
== DbExpressionKind.Like)
824
if (expr.
ExpressionKind
== DbExpressionKind.Function)
869
return (argument.
ExpressionKind
== DbExpressionKind.Property) &&
882
DbExpressionKind expressionKind = argument.
ExpressionKind
;
1181
if (!IsCompatible(result, e.
ExpressionKind
))
1424
if (!IsCompatible(innerQuery, e.
ExpressionKind
))
1616
return VisitJoinExpression(e.Inputs, e.
ExpressionKind
, "CROSS JOIN", null);
1628
switch (e.
ExpressionKind
)
1653
return VisitJoinExpression(inputs, e.
ExpressionKind
, joinString, e.JoinCondition);
1673
if (e.Escape.
ExpressionKind
!= DbExpressionKind.Null)
1698
if (!IsCompatible(result, e.
ExpressionKind
))
1804
if (comparisonExpression.
ExpressionKind
== DbExpressionKind.Equals)
1886
return VisitBinaryExpression(" OR ", e.
ExpressionKind
, e.Left, e.Right);
1921
var realValues = values.Where(v => v.
ExpressionKind
!= DbExpressionKind.IsNull);
1970
DbIsNullExpression isNullExpression = values.FirstOrDefault(v => v.
ExpressionKind
== DbExpressionKind.IsNull) as DbIsNullExpression;
2013
switch (value.
ExpressionKind
)
2052
if (x.
ExpressionKind
!= y.
ExpressionKind
)
2056
switch (x.
ExpressionKind
)
2092
switch(obj.
ExpressionKind
)
2125
return (e.
ExpressionKind
== DbExpressionKind.Property
2126
|| e.
ExpressionKind
== DbExpressionKind.VariableReference
2127
|| e.
ExpressionKind
== DbExpressionKind.ParameterReference);
2162
switch(e.
ExpressionKind
)
2241
if (!IsCompatible(result, e.
ExpressionKind
))
2399
bool negatePredicate = (e.
ExpressionKind
== DbExpressionKind.All);
2400
if (e.
ExpressionKind
== DbExpressionKind.Any)
2406
Debug.Assert(e.
ExpressionKind
== DbExpressionKind.All);
2465
if (!IsCompatible(input, e.
ExpressionKind
))
2567
if (!IsCompatible(result, e.
ExpressionKind
))
2774
exp => exp.
ExpressionKind
!= expressionKind,
2806
if (left.
ExpressionKind
== DbExpressionKind.Constant)
2817
if (right.
ExpressionKind
== DbExpressionKind.Constant)
2852
WrapNonQueryExtent(result, sqlFragment, inputExpression.
ExpressionKind
);
2915
if (e.Arguments.Count == 1 && e.Arguments[0].
ExpressionKind
== DbExpressionKind.Element)
2975
if (e.Argument.
ExpressionKind
== DbExpressionKind.ParameterReference)
3055
bool needsJoinContext = (input.Expression.
ExpressionKind
== DbExpressionKind.Scan)
3203
WrapNonQueryExtent(result, fromExtentFragment, input.Expression.
ExpressionKind
);
3897
if (e.
ExpressionKind
== DbExpressionKind.Constant)
3921
return (DbExpressionKind.CrossApply == e.
ExpressionKind
|| DbExpressionKind.OuterApply == e.
ExpressionKind
);
3933
return (DbExpressionKind.CrossJoin == e.
ExpressionKind
||
3934
DbExpressionKind.FullOuterJoin == e.
ExpressionKind
||
3935
DbExpressionKind.InnerJoin == e.
ExpressionKind
||
3936
DbExpressionKind.LeftOuterJoin == e.
ExpressionKind
);
3950
switch (e.
ExpressionKind
)
4083
switch (e.
ExpressionKind
)
4098
switch (e.
ExpressionKind
)
4335
if (allowConstants && (expression.
ExpressionKind
== DbExpressionKind.Constant))
4341
if (expression.
ExpressionKind
== DbExpressionKind.Cast)
4348
if (expression.
ExpressionKind
== DbExpressionKind.Property)
4354
if (expression.
ExpressionKind
== DbExpressionKind.VariableReference)