16 references to Case
System.Data.Entity (16)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
714
result = CqtBuilder.
Case
(newWhens, newThens, newElse);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (3)
265
result = entityProject.Input.Project(DbExpressionBuilder.
Case
(whens, thens, constructors[conditions.Count]));
507
DbCaseExpression newEntitySelector = DbExpressionBuilder.
Case
(newWhens, newThens, newElse);
585
caseExpression = DbExpressionBuilder.
Case
(rewrittenPredicates, caseExpression.Then, caseExpression.Else);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (3)
2706
return new ValueExpression(DbExpressionBuilder.
Case
(whenExprList, thenExprList, elseExpr));
4775
DbExpression left = DbExpressionBuilder.
Case
(whenExpr, thenExpr, DbExpressionBuilder.False);
4810
DbExpression left = DbExpressionBuilder.
Case
(whenExpr, thenExpr, DbExpressionBuilder.True);
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
341
DbExpression typeConstructors = DbExpressionBuilder.
Case
(
System\Data\Mapping\ViewGeneration\CqlGeneration\BooleanProjectedSlot.cs (1)
87
return DbExpressionBuilder.
Case
(new DbExpression[] { m_expr.AsCqt(row) }, new DbExpression[] { DbExpressionBuilder.True }, DbExpressionBuilder.False);
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (1)
280
return DbExpressionBuilder.
Case
(conditions, values, elseValue);
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
2203
projection = DbExpressionBuilder.
Case
(new[] { projection.Property("sentinel").IsNull() }, new[] { defaultValue }, projection.Property("value"));
2340
DbCaseExpression caseExpression = DbExpressionBuilder.
Case
(whenExpressions, thenExpressions, element);
System\Data\Objects\ELinq\Translator.cs (2)
878
return DbExpressionBuilder.
Case
(whenExpressions, thenExpressions, elseExpression);
941
DbExpression caseExpression = DbExpressionBuilder.
Case
(whenExpressions,
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
439
rewritten = DbExpressionBuilder.
Case
(
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
835
return DbExpressionBuilder.
Case
(whens, thens, elseExpr);