38 references to Constant
System.Data.Entity (38)
System\Data\Common\CommandTrees\AbstractExpressions.cs (14)
409
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value);
447
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
466
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
485
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
504
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
523
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
542
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value);
561
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value);
580
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
599
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
618
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
637
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
671
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value.Value);
690
return ExpressionBuilder.DbExpressionBuilder.
Constant
(value);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
54
private static readonly DbConstantExpression _boolTrue =
Constant
(true);
55
private static readonly DbConstantExpression _boolFalse =
Constant
(false);
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
188
DbSetClause newClause = new DbSetClause(inputIdentifier.Value.Property, DbExpressionBuilder.
Constant
(value));
System\Data\Objects\ELinq\MethodCallTranslator.cs (16)
999
DbComparisonExpression comparisonExpression = indexOfExpression.GreaterThan(DbExpressionBuilder.
Constant
(0));
1020
CqtExpression minusExpression = indexOfExpression.Minus(DbExpressionBuilder.
Constant
(1));
1051
.Equal(DbExpressionBuilder.
Constant
(1));
1085
.Equal(DbExpressionBuilder.
Constant
(1));
1111
DbExpression fromIndex = arg1.Plus(DbExpressionBuilder.
Constant
(1));
1154
DbExpressionBuilder.
Constant
(1),
1170
arg1.Plus(arg2).Plus(DbExpressionBuilder.
Constant
(1));
1232
DbExpressionBuilder.
Constant
(1),
1239
arg1.Plus(DbExpressionBuilder.
Constant
(1)),
1276
.Equal(DbExpressionBuilder.
Constant
(0));
1981
DbProjectExpression constantProject = operand.BindAs(parent.AliasGenerator.Next()).Project(DbExpressionBuilder.
Constant
(1));
1988
DbExpression constantExpression = DbExpressionBuilder.
Constant
(1);
2296
return parent.Limit(expression, DbExpressionBuilder.
Constant
(1));
2377
return parent.Limit(expression, DbExpressionBuilder.
Constant
(2));
2398
return parent.Limit(expression, DbExpressionBuilder.
Constant
(1));
2468
return parent.Limit(expression, DbExpressionBuilder.
Constant
(2));
System\Data\Objects\ELinq\Translator.cs (1)
851
recordColumns.Add(DbExpressionBuilder.
Constant
(true).As(KeyColumnName));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
1370
DbExpression constExpr = DbExpressionBuilder.
Constant
(1);
2295
DbNewInstanceExpression collectionExpr = DbExpressionBuilder.NewCollection(new [] { DbExpressionBuilder.
Constant
(1) });
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (2)
474
private static readonly DbExpression defaultGeographySridExpression = DbExpressionBuilder.
Constant
(DbGeography.DefaultCoordinateSystemId);
475
private static readonly DbExpression defaultGeometrySridExpression = DbExpressionBuilder.
Constant
(DbGeometry.DefaultCoordinateSystemId);