9 instantiations of ConstantProjectedSlot
System.Data.Entity (9)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
367projectedSlot = new ConstantProjectedSlot(domainValue, currentPath); 527new ConstantProjectedSlot(Constant.Undefined, currentPath)); 619caseStatement.AddWhenThen(BoolExpression.True, new ConstantProjectedSlot(defaultValue, currentPath)); 791caseStmt.AddWhenThen(BoolExpression.True, new ConstantProjectedSlot(typeConstant, memberPath));
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (1)
208m_elseValue = new ConstantProjectedSlot(Constant.Null, m_memberPath);
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
149ConstantProjectedSlot defaultValue = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (3)
256new ConstantProjectedSlot(Constant.Null, memberPath), memberPath); 288new ConstantProjectedSlot(Constant.Null, slotInfo.OutputMember), slotInfo.OutputMember); 505slot = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
19 references to ConstantProjectedSlot
System.Data.Entity (19)
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (1)
361if (!(slot is ConstantProjectedSlot))
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (8)
157ConstantProjectedSlot constantSlot = slot as ConstantProjectedSlot; 188ConstantProjectedSlot constantSlot = clause.Value as ConstantProjectedSlot; 292Debug.Assert(slot is MemberProjectedSlot || slot is QualifiedSlot || slot is ConstantProjectedSlot, 320Debug.Assert(slot is MemberProjectedSlot || slot is QualifiedSlot || slot is ConstantProjectedSlot, 359ConstantProjectedSlot constantSlot = slot as ConstantProjectedSlot;
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
373internal void FixMissingSlotAsDefaultConstant(int slotNumber, ConstantProjectedSlot slot)
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (2)
74ConstantProjectedSlot rightSlot = right as ConstantProjectedSlot;
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
149ConstantProjectedSlot defaultValue = new ConstantProjectedSlot(Domain.GetDefaultValueForMemberPath(memberPath, GetLeaves(), ViewgenContext.Config), memberPath);
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
300if (slot == null || slot is ConstantProjectedSlot) 318if (slot == null || slot is ConstantProjectedSlot)
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (4)
538ConstantProjectedSlot constantSlot = slot as ConstantProjectedSlot; 568ConstantProjectedSlot constantSlot = childSlot as ConstantProjectedSlot;