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