10 instantiations of ScalarConstant
System.Data.Entity (10)
System\Data\Mapping\ViewGeneration\CellCreator.cs (4)
212
ScalarConstant negatedCondition = new
ScalarConstant
(!conditionValue);
240
BoolExpression leftQueryWhereClause = BoolExpression.CreateLiteral(new ScalarRestriction(memberToExpand, new
ScalarConstant
(conditionValue)), null);
243
BoolExpression rightQueryWhereClause = BoolExpression.CreateLiteral(new ScalarRestriction(rightSidePath, new
ScalarConstant
(conditionValue)), null);
491
conditionExpression = new ScalarRestriction(conditionMemberNode, new
ScalarConstant
(conditionMap.Value));
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (3)
182
IEnumerable<Constant> actualValues = new Constant[] { new
ScalarConstant
(true) };
183
IEnumerable<Constant> possibleValues = new Constant[] { new
ScalarConstant
(true), new
ScalarConstant
(false) };
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (3)
187
defaultConstant = new
ScalarConstant
(defaultValue);
552
yield return new
ScalarConstant
(value1);
553
yield return new
ScalarConstant
(value2);
10 references to ScalarConstant
System.Data.Entity (10)
System\Data\Mapping\ViewGeneration\CellCreator.cs (1)
212
ScalarConstant
negatedCondition = new ScalarConstant(!conditionValue);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
188
new Domain(
ScalarConstant
.Undefined, childDomain)), domainMap);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (2)
1241
ScalarConstant
scalarConstant = domainValue as
ScalarConstant
;
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
296
Debug.Assert(constant is
ScalarConstant
|| constant.IsNull() || constant is NegatedConstant, "Invalid type of constant");
System\Data\Mapping\ViewGeneration\Structures\BoolLiteral.cs (2)
194
ScalarConstant
scalar = (
ScalarConstant
)range.First();
System\Data\Mapping\ViewGeneration\Structures\ScalarConstant.cs (2)
148
ScalarConstant
rightScalarConstant = right as
ScalarConstant
;
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
37
Debug.Assert(value is
ScalarConstant
|| value.IsNull() || value.IsNotNull(), "value is expected to be ScalarConstant, NULL, or NOT_NULL.");